From: Akinobu Mita Date: Mon, 26 Aug 2013 13:08:40 +0000 (+0900) Subject: [SCSI] scsi_debug: fix endianness bug in sdebug_build_parts() X-Git-Tag: v3.12-rc1~180^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=150c3544b1d317fe32b1f279917c08638dad363f;p=pandora-kernel.git [SCSI] scsi_debug: fix endianness bug in sdebug_build_parts() With module parameter num_parts > 0, partition table is built on the ramdisk storage when loading the driver. Unfortunately, there is an endianness bug in sdebug_build_parts(). So the partition table is not correctly initialized on big-endian systems. Signed-off-by: Akinobu Mita Tested-by: Martin Peschke Acked-by: Douglas Gilbert Signed-off-by: James Bottomley --- Reading git-diff-tree failed