Re: [PATCH 08/14] scsi: mvumi: use __maybe_unused to hide pm functions

2016-03-05 Thread Martin K. Petersen
> "Arnd" == Arnd Bergmann writes: Arnd> The mvumi scsi hides the references to its suspend/resume Arnd> functions in an #ifdef but does not hide the implementation the Arnd> same way: Applied to 4.6/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this

Re: [PATCH 08/14] scsi: mvumi: use __maybe_unused to hide pm functions

2016-03-03 Thread Johannes Thumshirn
On Wed, Mar 02, 2016 at 04:59:00PM +0100, Arnd Bergmann wrote: > The mvumi scsi hides the references to its suspend/resume functions > in an #ifdef but does not hide the implementation the same way: > > drivers/scsi/mvumi.c:2632:12: error: 'mvumi_suspend' defined but not used > [-Werror=unused-fu

[PATCH 08/14] scsi: mvumi: use __maybe_unused to hide pm functions

2016-03-02 Thread Arnd Bergmann
The mvumi scsi hides the references to its suspend/resume functions in an #ifdef but does not hide the implementation the same way: drivers/scsi/mvumi.c:2632:12: error: 'mvumi_suspend' defined but not used [-Werror=unused-function] drivers/scsi/mvumi.c:2651:12: error: 'mvumi_resume' defined but n