]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] qla4xxx: Fix return code for qla4xxx_session_get_param.
authorManish Rangankar <manish.rangankar@qlogic.com>
Mon, 21 Jan 2013 04:51:04 +0000 (23:51 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 30 Jan 2013 02:59:00 +0000 (13:59 +1100)
commit12b43abf85ce23242fe8d0d57c95450a574b229b
tree85d0213e2fb1c2cdd719cd5773a19a064de067cd
parentfd7b845e2dc990e07b1087126da4746f36dccba3
[SCSI] qla4xxx: Fix return code for qla4xxx_session_get_param.

While reading sysfs chap_in_idx and chap_out_idx attribute, if chap
authentication is not set we get an error as "Invalid argument".

Signed-off-by: Manish Rangankar <manish.rangankar@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_os.c