aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2016-11-16 16:14:27 +0100
committerMartin K. Petersen <[email protected]>2016-11-21 22:28:17 -0500
commit2244459070c8080bffcd9f9916ee45b9463b6b6d (patch)
tree12f444ab279d2ef21ccb1488e0d48958f1c74839 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent4aaa4065f762514c38aba1f1193d200c7140d1c0 (diff)
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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions