]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2354733f9c58c49fe9a8eaad7a8ca38fac91fa9a
tree2725ad48a4a15e106a56b9ece4724180fd1db6b9
parentbb8b6befdb0d26a005a252e06d5fbd0677df35a5
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