2014-05-29 1:18 GMT+09:00 Elliott, Robert (Server Storage) <elli...@hp.com>:
>
>> -----Original Message-----
>> From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi-
>> ow...@vger.kernel.org] On Behalf Of Akinobu Mita
>> Sent: Sunday, 25 May, 2014 7:44 AM
>> To: linux-scsi@vger.kernel.org
>> Cc: Akinobu Mita; Jens Axboe; James E.J. Bottomley; Douglas Gilbert
>> Subject: [PATCH 3/4] scsi: increase upper limit for max_sectors
>>
> ...
>> -     } else if (sdp->use_16_for_rw) {
>> +     } else if ((this_count > 0xffff) || sdp->use_16_for_rw) {
>
> Suggestion: reorder those so the unlikely case of a huge
> this_count is on the right side of the || operator.

No problem.  I'll make this change in the next version.
Thanks for your suggestion.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to