From: David Miller <da...@davemloft.net> Date: Thu, 18 Jan 2018 15:52:38 -0500 (EST)
> From: Jeff Kirsher <jeffrey.t.kirs...@intel.com> > Date: Wed, 17 Jan 2018 07:57:32 -0800 > >> From: Arnd Bergmann <a...@arndb.de> >> >> A cleanup of the PM code left an incorrect #ifdef in place, leading >> to a harmless build warning: >> >> drivers/net/ethernet/intel/fm10k/fm10k_pci.c:2502:12: error: 'fm10k_suspend' >> defined but not used [-Werror=unused-function] >> drivers/net/ethernet/intel/fm10k/fm10k_pci.c:2475:12: error: 'fm10k_resume' >> defined but not used [-Werror=unused-function] >> >> It's easier to use __maybe_unused attributes here, since you >> can't pick the wrong one. >> >> Fixes: 8249c47c6ba4 ("fm10k: use generic PM hooks instead of legacy PCIe >> power hooks") >> Signed-off-by: Arnd Bergmann <a...@arndb.de> >> Acked-by: Jacob Keller <jacob.e.kel...@intel.com> >> Tested-by: Krishneil Singh <krishneil.k.si...@intel.com> >> Signed-off-by: Jeff Kirsher <jeffrey.t.kirs...@intel.com> > > Applied, thanks Arnd. Of course, thank you to Jeff as well :-)