]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] qla4xxx: Correct the validation to check in get_sys_info mailbox
authorNilesh Javali <nilesh.javali@qlogic.com>
Sat, 29 Dec 2012 07:24:53 +0000 (02:24 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 30 Jan 2013 00:48:55 +0000 (11:48 +1100)
commit447ffa01c6d2292736a7135be36d4093c3e76627
treea1eaa0610e8ad54e7afe71152a10dc49b9bee835
parent3d9a41e356cd8d6afa008b44d19b43644a5af604
[SCSI] qla4xxx: Correct the validation to check in get_sys_info mailbox

Check mbox_sts[3] instead of mbox_sts[4] for ISP83xx to validate size
of data returned

Signed-off-by: Nilesh Javali <nilesh.javali@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_nx.c