> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Michal Swiatkowski > Sent: 16 October 2025 13:00 > To: [email protected] > Cc: [email protected]; Keller, Jacob E <[email protected]>; > Michal Swiatkowski <[email protected]>; Guenter Roeck > <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-net v2] libie: depend on DEBUG_FS when > building LIBIE_FWLOG > > LIBIE_FWLOG is unusable without DEBUG_FS. Mark it in Kconfig. > > Fix build error on ixgbe when DEBUG_FS is not set. To not add another layer > of #if IS_ENABLED(LIBIE_FWLOG) in ixgbe fwlog code define debugfs dentry even > when DEBUG_FS isn't enabled. In this case the dummy functions of LIBIE_FWLOG > will be used, so not initialized dentry isn't a problem. > > Fixes: 641585bc978e ("ixgbe: fwlog support for e610") > Reported-by: Guenter Roeck <[email protected]> > Closes: > https://lore.kernel.org/lkml/[email protected]/ > Signed-off-by: Michal Swiatkowski <[email protected]> > --- > v1 --> v2 [1]: > * add DEBUG_FS dependency in LIBIE_FWLOG > > [1] > https://lore.kernel.org/netdev/[email protected]/ > --- > drivers/net/ethernet/intel/Kconfig | 4 ++-- > drivers/net/ethernet/intel/ixgbe/ixgbe.h | 2 -- > include/linux/net/intel/libie/fwlog.h | 12 ++++++++++++ > 3 files changed, 14 insertions(+), 4 deletions(-) >
Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)
