Re: [PATCH] scsi: smartpqi: mark PM functions as __maybe_unused

From: Martin K. Petersen
Date: Tue May 23 2017 - 21:48:46 EST



Arnd,

> The newly added suspend/resume support causes harmless warnings when
> CONFIG_PM is disabled:

> We can avoid the warnings by removing the #ifdef around the handlers
> and instead marking them as __maybe_unused, which will let gcc drop
> the unused code silently.

Applied to 4.13/scsi-queue. Thank you!

--
Martin K. Petersen Oracle Linux Engineering