diff options
| author | Arnd Bergmann <[email protected]> | 2016-11-16 15:14:27 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2016-11-22 03:28:17 +0000 |
| commit | 2244459070c8080bffcd9f9916ee45b9463b6b6d (patch) | |
| tree | 12f444ab279d2ef21ccb1488e0d48958f1c74839 /drivers/scsi/pmcraid.c | |
| parent | scsi: mptfusion: Fix printk continuations (diff) | |
| download | kernel-2244459070c8080bffcd9f9916ee45b9463b6b6d.tar.gz kernel-2244459070c8080bffcd9f9916ee45b9463b6b6d.zip | |
scsi: bfa: turn bfa_mem_{kva,dma}_setup into inline functions
These two macros cause lots of warnings with gcc-7:
drivers/scsi/bfa/bfa_svc.c: In function 'bfa_fcxp_meminfo':
drivers/scsi/bfa/bfa_svc.c:521:103: error: '*' in boolean context, suggest '&&' instead [-Werror=int-in-bool-context]
Using inline functions makes them much more readable and avoids the
warnings.
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Acked by: Anil Gurumurthy <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/scsi/pmcraid.c')
0 files changed, 0 insertions, 0 deletions
