diff options
| author | Don Brace <[email protected]> | 2022-02-10 14:11:51 -0600 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2022-02-11 17:06:12 -0500 |
| commit | 31b17c3aeb5e9413ed627626f6213b3e53b20c8e (patch) | |
| tree | 143c4d4efa08fbe0242d8578f45be62358b30ae3 /tools/perf/scripts/python/flamegraph.py | |
| parent | 26fc0ea74fcb9b76b41f5e9b89728cd1c01559cd (diff) | |
scsi: smartpqi: Fix unused variable pqi_pm_ops for clang
Driver added a new dev_pm_ops structure used only if CONFIG_PM is set. The
CONFIG_PM MACRO needed to be moved up in the code to avoid the compiler
warnings. The hunk to move the location was missing from the above patch.
Found by kernel test robot by building driver with CONFIG_PM disabled.
Link: https://lore.kernel.org/all/[email protected]/
Link: https://lore.kernel.org/r/[email protected]
Fixes: c66e078ad89e ("scsi: smartpqi: Fix hibernate and suspend")
Reported-by: kernel test robot <[email protected]>
Reviewed-by: Scott Teel <[email protected]>
Reviewed-by: Scott Benesh <[email protected]>
Reviewed-by: Mike Mcgowen <[email protected]>
Reviewed-by: Kevin Barnett <[email protected]>
Signed-off-by: Don Brace <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions