diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2013-08-26 13:08:40 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-09-03 14:28:08 (GMT) |
commit | 150c3544b1d317fe32b1f279917c08638dad363f (patch) | |
tree | 296daa77f647b056d3227c5909cbc4d179671292 /drivers/scsi/sim710.c | |
parent | e03d1b21d1f8482072ff3a9db12197b401b3bc56 (diff) | |
download | linux-150c3544b1d317fe32b1f279917c08638dad363f.tar.xz |
[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 <akinobu.mita@gmail.com>
Tested-by: Martin Peschke <mpeschke@linux.vnet.ibm.com>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/sim710.c')
0 files changed, 0 insertions, 0 deletions