Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp464199pxb; Wed, 11 Nov 2020 08:02:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJxbySEKqK3VckxumtmNIcypBlza+27iIiERjuM9eb9jHlEtwE659TYYEkGHUuU616yNTTsO X-Received: by 2002:a2e:9a44:: with SMTP id k4mr9958960ljj.1.1605110559012; Wed, 11 Nov 2020 08:02:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605110559; cv=none; d=google.com; s=arc-20160816; b=aR8F4u9k9J7X1YRPOkQduvTtmKtQlzOlX43F3GdXegd02fZE3GfxrtyOcr9eVYayMR y08GZ4H1WHrL4O4QyqRq02WODBd4zkiFIqdF7581eS2fZ3V+L3McpNcaaOh5T3nkcV0Z U0mJwCwE56Tx+l2aGWhLu2/0jcEYF8DsiMAKvb/Mlx7BSP76H/+ew+/XhGjcEcVOAfyn 7BpdFnTpfg+dQXq6gJEEZ0zAUH4olNkjG/Ld/WVxSLxUQJRyUSiirJ2mlypPZrgFi4ju d5T/QCS14KRnMV1jllg48t9XarnAK7aoZCfCoOGOnfWsqr+mkyNgxMXpdZdmnijnZk4E 5v9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=m5Lxfca0meFNNRN0xspoNgN/i/LgzttqgQSdzHIbAwU=; b=FeuIBuFWTY1PQLEN0aPvDFDkqBGMrmdwA3nib0/k2VXEGUgLqPsAtFEfXdKqwvdInl FSkSC+5QgrDHpk9/z1N68QYaxVSHG0VRX5PmhuQ9jqpVMcyb+XFJSfu65ocwfjbmVyiq JUN/BmlGlMqGUatvLiLOQ47X8jylX1HrEzfOq9+gaHuj+nIXeG/t3v8Xd+6AZXuxMuFe NUx9KnMb2zRad2Wu+n4PeKUXjQNjkUHAV6moXM0sfgE495NLO/W+619yBG6csh5hWFTz A6sfNenqHj640py0POcLPJXTyaUiVpVzcu5XUb0JXbx3o9UUcso50SXBQNt/KZ5x2Ikr QA6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WQWostec; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i4si1060975lfe.237.2020.11.11.08.02.09; Wed, 11 Nov 2020 08:02:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=WQWostec; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727498AbgKKQAa (ORCPT + 99 others); Wed, 11 Nov 2020 11:00:30 -0500 Received: from mail.kernel.org ([198.145.29.99]:46610 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726274AbgKKQAa (ORCPT ); Wed, 11 Nov 2020 11:00:30 -0500 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CEF8820709; Wed, 11 Nov 2020 16:00:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605110429; bh=Dv9BJlsfpFVl0Xexy5UTw33fgnjDZpEORoMIQwG5VrQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=WQWostecFHGQH3YBVlqic8fIdISsfyNjbN6bue3q4tBnspH7fWstqk+t7gLRcU+Y2 YuRZ4uHLKndAM5qSykd+DXjRwXRLR6KrDKLkDDA8j55EANVJzCk7Oc6Ydvf43jjWNA 1f8ZBm8YAhtMusSpZsc9clZE1ZwjoUpfVlKjNeJw= Date: Wed, 11 Nov 2020 08:00:27 -0800 From: Jakub Kicinski To: Richard Cochran Cc: Grygorii Strashko , Wang Qing , "David S. Miller" , Samuel Zou , Kurt Kanzenbach , Ivan Khoronzhuk , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V4 net-bugfixs] net/ethernet: Update ret when ptp_clock is ERROR Message-ID: <20201111080027.7830f756@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20201111135558.GB4928@hoboy.vegasvil.org> References: <1605086686-5140-1-git-send-email-wangqing@vivo.com> <20201111123224.GB29159@hoboy.vegasvil.org> <20201111135558.GB4928@hoboy.vegasvil.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 11 Nov 2020 05:55:58 -0800 Richard Cochran wrote: > On Wed, Nov 11, 2020 at 03:24:33PM +0200, Grygorii Strashko wrote: > > > > Following Richard's comments v1 of the patch has to be applied [1]. > > I've also added my Reviewed-by there. > > > > [1] https://lore.kernel.org/patchwork/patch/1334067/ > > +1 > > Jakub, can you please take the original v1 of this patch? I don't think v1 builds cleanly folks (not 100% sure, cpts is not compiled on x86): ret = cpts->ptp_clock ? cpts->ptp_clock : (-ENODEV); ptp_clock is a pointer, ret is an integer, right? Grygorii, would you mind sending a correct patch in so Wang Qing can see how it's done? I've been asking for a fixes tag multiple times already :(