From: Hannes Reinecke Date: Wed, 25 Jun 2014 13:27:39 +0000 (+0200) Subject: scsi_scan: Fixup scsilun_to_int() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~143^2~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9e5d6183715e691b37afd3785c311d05cd1338d;p=pandora-kernel.git scsi_scan: Fixup scsilun_to_int() scsilun_to_int() has an error which prevents it from generating correct LUN numbers for 64bit values. Also we should remove the misleading comment about portions of the LUN being ignored; the initiator should treat the LUN as an opaque value. And, finally, the example given should use the correct prefix (here: extended flat space addressing scheme). This patch includes the modifications suggested by Bart van Assche. Cc: Bart van Assche Cc: Christoph Hellwig Signed-off-by: Hannes Reinecke Reviewed-by: James Bottomley Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed