Messages in this thread | | | Subject | Re: [PATCH] bfa: turn bfa_mem_{kva,dma}_setup into inline functions | From | "Martin K. Petersen" <> | Date | Mon, 21 Nov 2016 22:29:27 -0500 |
| |
>>>>> "Arnd" == Arnd Bergmann <arnd@arndb.de> writes:
Arnd> These two macros cause lots of warnings with gcc-7: Arnd> drivers/scsi/bfa/bfa_svc.c: In function 'bfa_fcxp_meminfo': Arnd> drivers/scsi/bfa/bfa_svc.c:521:103: error: '*' in boolean context, Arnd> suggest '&&' instead [-Werror=int-in-bool-context]
Arnd> Using inline functions makes them much more readable and avoids Arnd> the warnings.
Applied to 4.10/scsi-queue.
-- Martin K. Petersen Oracle Linux Engineering
| |