diff options
author | Jayamohan Kallickal <jayamohank@gmail.com> | 2013-04-05 20:38:22 -0700 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-05-02 08:07:55 -0700 |
commit | a8081e346ad3f8bc2449052908095c2675a9996f (patch) | |
tree | 25e8a2afa808c5ddc762ff7e2b6cd33dc83e8e2e /drivers/mfd/arizona-i2c.c | |
parent | 0283fbb18c873993c606a6c9660d6ac78493b37a (diff) |
[SCSI] be2iscsi: Fix returning Failure when MBX fails with Insufficient buffer error
When MBX command fails with insufficent buffer, check for the
response lenght returned. Return success if response length
is non-zero value which indicates valid data.
Signed-off-by: Minh Tran <minhduc.tran@emulex.com>
Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/mfd/arizona-i2c.c')
0 files changed, 0 insertions, 0 deletions