Re: [PATCH net-next] ethtool: pse-pd: Add missing linux/export.h include

From: Simon Horman
Date: Fri Jun 20 2025 - 06:15:27 EST


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/