arcmsr: endianness bug
authorAl Viro <viro@ftp.linux.org.uk>
Mon, 29 Oct 2007 05:08:48 +0000 (05:08 +0000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 29 Oct 2007 14:41:33 +0000 (07:41 -0700)
commit6a7d26d58a0f61cffddc8839067dfad10413b852
tree7b0263cfd27c0b436fddb5f0f5c7b296ba798dab
parent80da1adbbf8805bc1a5d287ab171463710b7d92e
arcmsr: endianness bug

initializing a field in data shared with the card with
cpu_to_le32(something) | 0x100000 is broken - the field is, indeed,
little-endian and we need cpu_to_le32() on both parts.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/scsi/arcmsr/arcmsr_hba.c