rocker: silence shift wrapping warning
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 25 Feb 2015 13:36:12 +0000 (16:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Feb 2015 20:53:44 +0000 (15:53 -0500)
commit5f2ebfbee68872762ad76f735277ed7afa074d76
tree9b1d24eda2cfcd0ae10e8e9839baa26433c07fd0
parente65ad3be869b45f90a401d8ce4d4e7381c99ceb0
rocker: silence shift wrapping warning

"val" is declared as a u64 so static checkers complain that this shift
can wrap.  I don't have the hardware but probably it's doesn't have over
31 ports.  Still we may as well silence the warning even if it's not a
real bug.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.c