From: Akinobu Mita Date: Mon, 2 Jun 2014 13:56:47 +0000 (+0900) Subject: sd: use READ_16 or WRITE_16 when transfer length is greater than 0xffff X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~132 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e430cbc8bbd779454516467b2947a97b4003c081;p=pandora-kernel.git sd: use READ_16 or WRITE_16 when transfer length is greater than 0xffff This change makes the scsi disk driver handle the requests whose transfer length is greater than 0xffff with READ_16 or WRITE_16. However, this is a preparation for extending the data type of max_sectors in struct Scsi_Host and scsi_host_template. So, it is impossible to happen this condition for now, because SCSI low-level drivers can not specify max_sectors greater than 0xffff due to the data type limitation. Signed-off-by: Akinobu Mita Reviewed-by: Martin K. Petersen Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed