From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C5FF64C84; Tue, 18 Jun 2024 01:26:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718674003; cv=none; b=iVmTStQoe7xR/g983HI+TQaIRFVW3h9ZMmaezNdEfeX0wk5upOdZUVOwKSMW52oukaai7q82kYh5xwfwHFgcQ3PM28nAV44Q2w7HWQs/iYJ0InQDrHt1k+O3YYkF0PPVPLvAhJVo5zTTEdytpC/PiO71Nbu6RDY+wEP6UYXOytI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718674003; c=relaxed/simple; bh=BJqVxxnHVxK+/oMC8JfWJbM+VLvzhUJqNYWBsEwgjCA=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=OiVxg+/FGwHBFJZcSPu8V3sR6EOOVWYBrUWHuRE4bftKFA6iidh/KItrDO+PG8ffJBV+Skmsi6Kfgkq8SlNOZVBt3cs2yWkozBN6ZVGdNOajyUJeuuKt/behhNq4PGb1g+EB1rJ3+DVtw5GoApi/Hyx4otk7HZplVRpIFiHMZl8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IntJtiEN; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IntJtiEN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4FDEBC2BD10; Tue, 18 Jun 2024 01:26:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718674003; bh=BJqVxxnHVxK+/oMC8JfWJbM+VLvzhUJqNYWBsEwgjCA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=IntJtiENPriYBtIdDQv6UvX4nqG2tVk5KNzdUiRK1aCW03GeoLjcCgGlKHE2YYJkc nq4wmzTC2tmBqoSQO6Tr/oUTGYtNOSVhz1tkOUVDtI2m4PKhoaEhixq4A89SENnbbC FB7WkxGHhAJ76LuDPABFy8ElPqVdZCOmpIbF1zTEwNs961KUzyoaukWWBt5OP+Vjpk x86IthG6SjU/VQIWR/tw95hlA7oS80wuj4vjMa6+L9sFqArMHr8LyZx3fpNoGOzsRG zwCEgks18U0sEhmswiZ7XFGZv2r50W62jDwY+d4NyevPSIdtf5Qhw6yCcw1Jgn+7Nh hh5ERPS+ISbYg== Date: Mon, 17 Jun 2024 18:26:41 -0700 From: Jakub Kicinski To: Kory Maincent Cc: Florian Fainelli , Broadcom internal kernel review list , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Paolo Abeni , Richard Cochran , Radu Pirea , Jay Vosburgh , Andy Gospodarek , Nicolas Ferre , Claudiu Beznea , Willem de Bruijn , Jonathan Corbet , Horatiu Vultur , UNGLinuxDriver@microchip.com, Simon Horman , Vladimir Oltean , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Maxime Chevallier , Rahul Rameshbabu , Willem de Bruijn Subject: Re: [PATCH net-next v15 02/14] net: Move dev_set_hwtstamp_phylib to net/core/dev.h Message-ID: <20240617182641.7fa3921e@kernel.org> In-Reply-To: <20240612-feature_ptp_netnext-v15-2-b2a086257b63@bootlin.com> References: <20240612-feature_ptp_netnext-v15-0-b2a086257b63@bootlin.com> <20240612-feature_ptp_netnext-v15-2-b2a086257b63@bootlin.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 12 Jun 2024 17:04:02 +0200 Kory Maincent wrote: > This declaration was added to the header to be called from ethtool. > ethtool is separated from core for code organization but it is not really > a separate entity, it controls very core things. > As ethtool is an internal stuff it is not wise to have it in netdevice.h. > Move the declaration to net/core/dev.h instead. > > Remove the EXPORT_SYMBOL_GPL call as ethtool can not be built as a module. > > Reviewed-by: Willem de Bruijn > Signed-off-by: Kory Maincent I'll take this one, it stands on its own.