ixgbe: Typecase '1' for 64 bit shift
authorNelson, Shannon <shannon.nelson@intel.com>
Thu, 7 May 2009 10:40:15 +0000 (10:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 May 2009 21:52:32 +0000 (14:52 -0700)
commitc9c7d2e5a06cd3a26b6be096949e3371ec2aa123
tree2725ad48a4a15e106a56b9ece4724180fd1db6b9
parentbf069c9726b592432ed646e72b910ac3c098d025
ixgbe: Typecase '1' for 64 bit shift

Make sure we don't get any sign-extend issues when we shift a 1
into bit 31.

Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c