linux/drivers/scsi/bfa
Arnd Bergmann 2244459070 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>
2016-11-21 22:28:17 -05:00
..
bfa_core.c bfa: deinline __bfa_trc() and __bfa_trc32() 2016-02-23 21:27:02 -05:00
bfa_cs.h bfa: deinline __bfa_trc() and __bfa_trc32() 2016-02-23 21:27:02 -05:00
bfa_defs_fcs.h bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_defs_svc.h bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_defs.h bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_fc.h bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_fcbuild.c bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_fcbuild.h bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_fcpim.c bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_fcpim.h bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_fcs_fcpim.c bfa: fix bfa_fcb_itnim_alloc() error handling 2016-05-09 22:18:42 -04:00
bfa_fcs_lport.c scsi: bfa: Do not dereference port before it is null checked 2016-09-02 06:09:16 -04:00
bfa_fcs_rport.c bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_fcs.c bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_fcs.h bfa: fix bfa_fcb_itnim_alloc() error handling 2016-05-09 22:18:42 -04:00
bfa_hw_cb.c bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_hw_ct.c bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_ioc_cb.c bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_ioc_ct.c bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_ioc.c bfa: use strncpy() instead of memcpy() 2016-02-23 21:27:02 -05:00
bfa_ioc.h scsi: bfa: turn bfa_mem_{kva,dma}_setup into inline functions 2016-11-21 22:28:17 -05:00
bfa_modules.h bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_plog.h bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_port.c bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_port.h bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_svc.c bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_svc.h bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa.h bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfad_attr.c bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfad_bsg.c scsi: fc: use bsg_job_done 2016-11-17 20:15:26 -05:00
bfad_bsg.h bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfad_debugfs.c bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfad_drv.h bfa: Update driver version to 3.2.25.0 2015-12-02 17:07:57 -05:00
bfad_im.c bfa: fix bfa_fcb_itnim_alloc() error handling 2016-05-09 22:18:42 -04:00
bfad_im.h scsi: change FC drivers to use 'struct bsg_job' 2016-11-17 20:15:25 -05:00
bfad.c bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfi_ms.h bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfi_reg.h bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfi.h scripts/spelling.txt: add "fimware" misspelling 2016-05-19 19:12:14 -07:00
Makefile