summaryrefslogtreecommitdiff
path: root/drivers/scsi/ipr.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2018-01-17 18:57:32 +0300
committerDavid S. Miller <davem@davemloft.net>2018-01-18 23:52:07 +0300
commitb200bfd6112a87283e58bcfcc4cb57a5517ae82f (patch)
tree869d427c7755c6267f43aa4fb96bb3395b908747 /drivers/scsi/ipr.h
parent5762d7d3eda25c03cc2d9d45227be3f5ab6bec9e (diff)
downloadlinux-b200bfd6112a87283e58bcfcc4cb57a5517ae82f.tar.xz
fm10k: mark PM functions as __maybe_unused
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 <arnd@arndb.de> Acked-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Krishneil Singh <krishneil.k.singh@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/ipr.h')
0 files changed, 0 insertions, 0 deletions