[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1a863xbx3.fsf@oracle.com>
Date:   Tue, 23 May 2017 21:48:24 -0400
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     Arnd Bergmann <arnd@...db.de>
Cc:     Don Brace <don.brace@...rosemi.com>,
        "James E.J. Bottomley" <jejb@...ux.vnet.ibm.com>,
        "Martin K. Petersen" <martin.petersen@...cle.com>,
        Kevin Barnett <kevin.barnett@....com>,
        Scott Benesh <scott.benesh@...rosemi.com>,
        Scott Teel <scott.teel@...rosemi.com>,
        esc.storagedev@...rosemi.com, linux-scsi@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: smartpqi: mark PM functions as __maybe_unused
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
Powered by blists - more mailing lists
 
