From: David Miller <[email protected]>
Date: Thu, 18 Jan 2018 15:52:38 -0500 (EST)

> From: Jeff Kirsher <[email protected]>
> Date: Wed, 17 Jan 2018 07:57:32 -0800
> 
>> From: Arnd Bergmann <[email protected]>
>> 
>> 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 <[email protected]>
>> Acked-by: Jacob Keller <[email protected]>
>> Tested-by: Krishneil Singh <[email protected]>
>> Signed-off-by: Jeff Kirsher <[email protected]>
> 
> Applied, thanks Arnd.

Of course, thank you to Jeff as well :-)

Reply via email to