[SCSI] aacraid: suppress two GCC warnings
authorPaul Bolle <pebolle@tiscali.nl>
Thu, 21 Feb 2013 11:39:44 +0000 (12:39 +0100)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 24 Feb 2013 09:38:10 +0000 (09:38 +0000)
commit98f99a8ac8d92fef74b61e8dd25df934afbbf843
tree65e57c8517cdccaf9c2eeb327989af31a09e2ca5
parentbcc48ffa4beb0db52bdca42dc3e5ce765c2ed8b5
[SCSI] aacraid: suppress two GCC warnings

Building 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]

These warnings are caused by a right shift of 32. Use upper_32_bits() to
suppress them.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Cc: Mahesh Rajashekhara <Mahesh_Rajashekhara@pmc-sierra.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/aacraid/src.c