aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-07-28 09:41:53 +0800
committerTony Nguyen <anthony.l.nguyen@intel.com>2020-08-01 08:15:56 -0700
commit65c72291f709fe8a82e1df3d7b8d2e65d4d861a6 (patch)
tree202a6f0aa5b683f6d67b531bd0b6cb02d83220e8 /tools/perf/scripts/python/export-to-postgresql.py
parenttun: add missing rcu annotation in tun_set_ebpf() (diff)
downloadlinux-dev-65c72291f709fe8a82e1df3d7b8d2e65d4d861a6.tar.xz
linux-dev-65c72291f709fe8a82e1df3d7b8d2e65d4d861a6.zip
ice: mark PM functions as __maybe_unused
In certain configurations without power management support, the following warnings happen: drivers/net/ethernet/intel/ice/ice_main.c:4214:12: warning: 'ice_resume' defined but not used [-Wunused-function] 4214 | static int ice_resume(struct device *dev) | ^~~~~~~~~~ drivers/net/ethernet/intel/ice/ice_main.c:4150:12: warning: 'ice_suspend' defined but not used [-Wunused-function] 4150 | static int ice_suspend(struct device *dev) | ^~~~~~~~~~~ Mark these functions as __maybe_unused to make it clear to the compiler that this is going to happen based on the configuration, which is the standard for these types of functions. Fixes: 769c500dcc1e ("ice: Add advanced power mgmt for WoL") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions