linux-stable/drivers/scsi/bfa
Dan Carpenter 4e51af9ee7 bfa: fix bfa_fcb_itnim_alloc() error handling
The caller assumes that "itnim" is NULL on error and non-NULL on success
but really "itnim" is uninitialized on error.  This function should just
use normal error handling where it returns zero on success and negative
on failure.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Anil Gurumurthy <anil.gurumurthy@qlogic.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-05-09 22:18:42 -04:00
..
bfa.h bfa: File header and user visible string changes 2015-12-02 17:07:38 -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.h bfa: File header and user visible string changes 2015-12-02 17:07:38 -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_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.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_fcs_fcpim.c bfa: fix bfa_fcb_itnim_alloc() error handling 2016-05-09 22:18:42 -04:00
bfa_fcs_lport.c bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfa_fcs_rport.c bfa: File header and user visible string changes 2015-12-02 17:07:38 -05: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.c bfa: use strncpy() instead of memcpy() 2016-02-23 21:27:02 -05:00
bfa_ioc.h 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_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
bfad.c 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 bfa: File header and user visible string changes 2015-12-02 17:07:38 -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 bfa: File header and user visible string changes 2015-12-02 17:07:38 -05:00
bfi.h 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
Makefile [SCSI] bfa: Add BSG interface to support ELS, CT and vendor commands. 2011-06-29 15:59:53 -05:00