Re: [PATCH net-next] ethtool: pse-pd: Add missing linux/export.h include
From: Kory Maincent
Date: Fri Jun 20 2025 - 08:18:18 EST
Le Fri, 20 Jun 2025 11:14:52 +0100,
Simon Horman <horms@xxxxxxxxxx> 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@xxxxxxxxx>
> > Closes:
> > https://lore.kernel.org/oe-kbuild-all/202506200024.T3O0FWeR-lkp@xxxxxxxxx/
> > Signed-off-by: Kory Maincent <kory.maincent@xxxxxxxxxxx>
>
> 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@xxxxxxxxxx/
Ok, thanks for the info.
Regards,
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com