netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] ethtool: pse-pd: Add missing linux/export.h include
@ 2025-06-19 16:25 Kory Maincent
  2025-06-20 10:14 ` Simon Horman
  2025-06-23 20:20 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 5+ messages in thread
From: Kory Maincent @ 2025-06-19 16:25 UTC (permalink / raw)
  To: netdev, linux-kernel
  Cc: Kory Maincent, kernel test robot, thomas.petazzoni,
	Oleksij Rempel, Andrew Lunn, Jakub Kicinski, David S. Miller,
	Eric Dumazet, Paolo Abeni, Simon Horman

Fix missing linux/export.h header include in net/ethtool/pse-pd.c to resolve
build warning reported by the kernel test robot.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202506200024.T3O0FWeR-lkp@intel.com/
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
---
 net/ethtool/pse-pd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/ethtool/pse-pd.c b/net/ethtool/pse-pd.c
index 6c536dfe52da..24def9c9dd54 100644
--- a/net/ethtool/pse-pd.c
+++ b/net/ethtool/pse-pd.c
@@ -11,6 +11,7 @@
 #include "netlink.h"
 #include <linux/ethtool_netlink.h>
 #include <linux/ethtool.h>
+#include <linux/export.h>
 #include <linux/phy.h>
 
 struct pse_req_info {
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH net-next] ethtool: pse-pd: Add missing linux/export.h include
  2025-06-19 16:25 [PATCH net-next] ethtool: pse-pd: Add missing linux/export.h include Kory Maincent
@ 2025-06-20 10:14 ` Simon Horman
  2025-06-20 12:17   ` Kory Maincent
  2025-06-21 14:00   ` Jakub Kicinski
  2025-06-23 20:20 ` patchwork-bot+netdevbpf
  1 sibling, 2 replies; 5+ messages in thread
From: Simon Horman @ 2025-06-20 10:14 UTC (permalink / raw)
  To: Kory Maincent
  Cc: netdev, linux-kernel, kernel test robot, thomas.petazzoni,
	Oleksij Rempel, Andrew Lunn, Jakub Kicinski, David S. Miller,
	Eric Dumazet, Paolo Abeni

On Thu, Jun 19, 2025 at 06:25:47PM +0200, Kory Maincent wrote:
> Fix missing linux/export.h header include in net/ethtool/pse-pd.c to resolve
> build warning reported by the kernel test robot.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202506200024.T3O0FWeR-lkp@intel.com/
> Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>

Hi Kory, all,

The change that introduced this warning introduced a log of such warnings.
Including a lot in the Networking subsystem. (I did not count them.)

So I agree with the point from Sean Christopherson [*] is that if the patch
that introduced the warnings isn't reverted then a more comprehensive
approach is needed to address these warnings.

[*] Re: [PATCH 3/6] KVM: x86: hyper-v: Fix warnings for missing export.h header inclusion
    https://lore.kernel.org/netdev/aEl9kO81-kp0hhw0@google.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH net-next] ethtool: pse-pd: Add missing linux/export.h include
  2025-06-20 10:14 ` Simon Horman
@ 2025-06-20 12:17   ` Kory Maincent
  2025-06-21 14:00   ` Jakub Kicinski
  1 sibling, 0 replies; 5+ messages in thread
From: Kory Maincent @ 2025-06-20 12:17 UTC (permalink / raw)
  To: Simon Horman
  Cc: netdev, linux-kernel, kernel test robot, thomas.petazzoni,
	Oleksij Rempel, Andrew Lunn, Jakub Kicinski, David S. Miller,
	Eric Dumazet, Paolo Abeni

Le Fri, 20 Jun 2025 11:14:52 +0100,
Simon Horman <horms@kernel.org> a écrit :

> On Thu, Jun 19, 2025 at 06:25:47PM +0200, Kory Maincent wrote:
> > Fix missing linux/export.h header include in net/ethtool/pse-pd.c to resolve
> > build warning reported by the kernel test robot.
> > 
> > Reported-by: kernel test robot <lkp@intel.com>
> > Closes:
> > https://lore.kernel.org/oe-kbuild-all/202506200024.T3O0FWeR-lkp@intel.com/
> > Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>  
> 
> Hi Kory, all,
> 
> The change that introduced this warning introduced a log of such warnings.
> Including a lot in the Networking subsystem. (I did not count them.)
> 
> So I agree with the point from Sean Christopherson [*] is that if the patch
> that introduced the warnings isn't reverted then a more comprehensive
> approach is needed to address these warnings.
> 
> [*] Re: [PATCH 3/6] KVM: x86: hyper-v: Fix warnings for missing export.h
> header inclusion https://lore.kernel.org/netdev/aEl9kO81-kp0hhw0@google.com/

Ok, thanks for the info.

Regards,
-- 
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH net-next] ethtool: pse-pd: Add missing linux/export.h include
  2025-06-20 10:14 ` Simon Horman
  2025-06-20 12:17   ` Kory Maincent
@ 2025-06-21 14:00   ` Jakub Kicinski
  1 sibling, 0 replies; 5+ messages in thread
From: Jakub Kicinski @ 2025-06-21 14:00 UTC (permalink / raw)
  To: Simon Horman
  Cc: Kory Maincent, netdev, linux-kernel, kernel test robot,
	thomas.petazzoni, Oleksij Rempel, Andrew Lunn, David S. Miller,
	Eric Dumazet, Paolo Abeni

On Fri, 20 Jun 2025 11:14:52 +0100 Simon Horman wrote:
> On Thu, Jun 19, 2025 at 06:25:47PM +0200, Kory Maincent wrote:
> > Fix missing linux/export.h header include in net/ethtool/pse-pd.c to resolve
> > build warning reported by the kernel test robot.
> > 
> > Reported-by: kernel test robot <lkp@intel.com>
> > Closes: https://lore.kernel.org/oe-kbuild-all/202506200024.T3O0FWeR-lkp@intel.com/
> > Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>  
> 
> The change that introduced this warning introduced a log of such warnings.
> Including a lot in the Networking subsystem. (I did not count them.)
> 
> So I agree with the point from Sean Christopherson [*] is that if the patch
> that introduced the warnings isn't reverted

It was reverted, thankfully. So I assume we treat this patch as 
a normal "include what you need" case and therefore apply.. ?

> then a more comprehensive approach is needed to address these warnings.
> 
> [*] Re: [PATCH 3/6] KVM: x86: hyper-v: Fix warnings for missing export.h header inclusion
>     https://lore.kernel.org/netdev/aEl9kO81-kp0hhw0@google.com/


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH net-next] ethtool: pse-pd: Add missing linux/export.h include
  2025-06-19 16:25 [PATCH net-next] ethtool: pse-pd: Add missing linux/export.h include Kory Maincent
  2025-06-20 10:14 ` Simon Horman
@ 2025-06-23 20:20 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 5+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-06-23 20:20 UTC (permalink / raw)
  To: Kory Maincent
  Cc: netdev, linux-kernel, lkp, thomas.petazzoni, o.rempel, andrew,
	kuba, davem, edumazet, pabeni, horms

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 19 Jun 2025 18:25:47 +0200 you wrote:
> Fix missing linux/export.h header include in net/ethtool/pse-pd.c to resolve
> build warning reported by the kernel test robot.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202506200024.T3O0FWeR-lkp@intel.com/
> Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
> 
> [...]

Here is the summary with links:
  - [net-next] ethtool: pse-pd: Add missing linux/export.h include
    https://git.kernel.org/netdev/net-next/c/96c16c59b705

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-06-23 20:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-19 16:25 [PATCH net-next] ethtool: pse-pd: Add missing linux/export.h include Kory Maincent
2025-06-20 10:14 ` Simon Horman
2025-06-20 12:17   ` Kory Maincent
2025-06-21 14:00   ` Jakub Kicinski
2025-06-23 20:20 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).