]> Pileus Git - ~andy/linux/commit
[SCSI] megaraid: fix compiler warnings
authorMartin Bligh <mbligh@google.com>
Wed, 23 May 2007 23:11:46 +0000 (16:11 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 26 May 2007 16:46:38 +0000 (11:46 -0500)
commitde5952e91caf41bd838a787c7b9b6ca2e1292484
treeb1551cb27f64df74b16e18c63cfe4f39f7f8db33
parentc6a6c81cfdd0f9b95bf215d1b5626f4dbf1aba7d
[SCSI] megaraid: fix compiler warnings

The user ioctl mailbox can only support a 32 bit address for the
commands structure.  This is fine, since the area it's pointing to is
allocated with pci_alloc_consistent(), so it should be physically <
4GB.  Thus kill the ptr to u32 conversion warnings on 64 bit.

Signed-off-by: Martin J. Bligh <mbligh@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: "Patro, Sumant" <Sumant.Patro@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/megaraid.c