]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mtip32xx: Fix to make lba address correct in big-endian systems
authorSelvan Mani <smani@micron.com>
Wed, 7 Nov 2012 13:03:53 +0000 (06:03 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 23 Nov 2012 13:32:55 +0000 (14:32 +0100)
commiteda45314922f500f3547d36d317efc05ed823e3e
tree8486c7d169c4166511cae5b39abe6191016cfeef
parent3208795e612406df04a32b46eb5ea5fccfa51d69
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>
drivers/block/mtip32xx/mtip32xx.c