[PATCH 0/2] Minor scsi_dh_emc error path fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These two patches spun out of the blk_get_request return type changes
I've been working on [1].

  [1] http://thread.gmane.org/gmane.linux.scsi/80934

Should that patch go in, there are a few other device handler changes
possible for 3.11 [2], but the following bugfixes are unrelated, so I
thought I'd post them in case they could apply for 3.10.

  [2] http://thread.gmane.org/gmane.linux.scsi/81130

The first bug was spotted by Mike in thread [2], the second when I
traced the call path of clariion_send_inquiry back out through
clariion_set_params and its caller parse_path. The latter fix could have
been made in parse_path, but it didn't seem appropriate for that file to
sort through SCSI_DH enums.

Comments welcome, unfortunately I don't have the HW to verify, so these
are only compile tested.

Thanks,

Joe Lawrence (2):
  scsi_dh_emc: handle zero-senselen send_inquiry_cmd errors
  scsi_dh_emc: set_params callback should consistently return errno

 drivers/scsi/device_handler/scsi_dh_emc.c |   17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux