scsi: fix operator precedence warning
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 22 Apr 2010 18:02:14 +0000 (11:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 22 Apr 2010 18:11:02 +0000 (11:11 -0700)
commit1482338f6242dbaea46039c5f1b4604a472b364b
treee0dbc6e5ca881f7e41ff558d83b0e5dec606d7f4
parentc81eddb0e3728661d1585fbc564449c94165cc36
scsi: fix operator precedence warning

Fix operator precedence warning (from sparse), which results in the
data value always being 0:

drivers/scsi/qla4xxx/ql4_mbx.c:470:66: warning: right shift by bigger than source value

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Acked-by: Ravi Anand <ravi.anand@qlogic.com>
Cc: David C Somayajulu <david.somayajulu@qlogic.com>
Cc: Karen Higgins <karen.higgins@qlogic.com>
Cc: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/scsi/qla4xxx/ql4_mbx.c