[SCSI] bfa: set correct command return code
For various error conditions the bfa driver just returns 'DID_ERROR', which carries no information at all about the actual source of error. This patch updates the error handling to return a correct error code, depending on the type of error occurred. Signed-off-by: NHannes Reinecke <hare@suse.de> Acked-by: NVijaya Mohan Guvva <vmohan@brocade.com> Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
Showing
想要评论请 注册 或 登录