diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-11-16 16:14:27 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-11-21 22:28:17 -0500 |
commit | 2244459070c8080bffcd9f9916ee45b9463b6b6d (patch) | |
tree | 12f444ab279d2ef21ccb1488e0d48958f1c74839 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 4aaa4065f762514c38aba1f1193d200c7140d1c0 (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 <arnd@arndb.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Acked by: Anil Gurumurthy <anil.gurumurthy@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions