> -----Original Message----- > From: linux-scsi-owner@xxxxxxxxxxxxxxx [mailto:linux-scsi- > owner@xxxxxxxxxxxxxxx] On Behalf Of Akinobu Mita > Sent: Sunday, 25 May, 2014 7:44 AM > To: linux-scsi@xxxxxxxxxxxxxxx > 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. -- 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