diff options
author | Selvan Mani <smani@micron.com> | 2012-11-07 14:03:53 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-11-23 14:32:55 +0100 |
commit | eda45314922f500f3547d36d317efc05ed823e3e (patch) | |
tree | 8486c7d169c4166511cae5b39abe6191016cfeef /drivers/block/ida_ioctl.h | |
parent | mtip32xx: fix potential crash on SEC_ERASE_UNIT (diff) | |
download | linux-eda45314922f500f3547d36d317efc05ed823e3e.tar.xz linux-eda45314922f500f3547d36d317efc05ed823e3e.zip |
mtip32xx: Fix to make lba address correct in big-endian systems
Earlier lba address was assigned directly to lba_low and lba_low_ex,
which would result in a different number (bytes reversed) in
big-endian systems. Now assigning lba address byte-by-byte to fis.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Selvan Mani <smani@micron.com>
Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/ida_ioctl.h')
0 files changed, 0 insertions, 0 deletions