On Thu, 10 Feb 2022 14:11:51 -0600, Don Brace wrote: > 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. > > [...] Applied to 5.18/scsi-queue, thanks! [1/1] smartpqi: fix unused variable pqi_pm_ops for clang https://git.kernel.org/mkp/scsi/c/31b17c3aeb5e -- Martin K. Petersen Oracle Linux Engineering