Re: [PATCH 4/4] scsi: translate errors for power management

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

 



On Thursday 02 August 2012 11:43:44 James Bottomley wrote:
 
> this should be inside the switch as
> 
> default:
> 	return -EIO;
> 
> and no return statment outside of the switch.

OK

> Don't you still want to handle BUSY and QUEUE_FULL as -EBUSY?  Right at
> the moment they'll fall through the default case and return -EIO.

True. They should be handled.

	Regards
		Oliver

--
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