]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/scsi/aacraid/src.c: silence two GCC warnings
authorPaul Bolle <pebolle@tiscali.nl>
Wed, 20 Feb 2013 02:13:52 +0000 (13:13 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:52:15 +0000 (16:52 +1100)
commit468b220e0361407498daa12621034dffd3f0f029
tree22266a2296b2d63e4c57ceb1df67c67099c5467d
parent250cff7d6aabf3fd44cabcaaec555e1b8e63533b
drivers/scsi/aacraid/src.c: silence two GCC warnings

Compiling src.o for a 32 bit system triggers two GCC warnings:
    drivers/scsi/aacraid/src.c: In function `aac_src_deliver_message':
    drivers/scsi/aacraid/src.c:410:3: warning: right shift count >= width of type [enabled by default]
    drivers/scsi/aacraid/src.c:434:2: warning: right shift count >= width of type [enabled by default]

Silence these warnings by casting the 'address' variable (of type
dma_addr_t) to u64 on those two lines.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/scsi/aacraid/src.c