]> git.openfabrics.org - ~emulex/infiniband.git/commit
[SCSI] bfa: Fix to set correct return error codes and misc cleanup.
authorKrishna Gudipati <kgudipat@brocade.com>
Fri, 13 Jul 2012 23:08:22 +0000 (16:08 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 20 Jul 2012 07:59:05 +0000 (08:59 +0100)
commit529f9a765509c2c141ecfee0c54e17bf9a6b8bc1
tree01b273aebd0558e154e968fa925a2ee077730c1e
parent85d22bbf6787c240921539bba224eb221bfb8ee1
[SCSI] bfa: Fix to set correct return error codes and misc cleanup.

- Remove unnecessary if NULL check in function bfa_fcs_vport_free().
- Set correct return error codes in case of memory allocation failure
  in the BSG ELS/CT passthru command handler.

Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bfa/bfa_fcs_lport.c
drivers/scsi/bfa/bfad_bsg.c