ixgbevf: make use of BIT() macro to avoid shift of signed values
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 13 Apr 2016 23:08:24 +0000 (16:08 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 25 Apr 2016 11:41:56 +0000 (04:41 -0700)
commit8d055cc0c8be92cd6a77193460117f0ab0a05286
tree36ea2d437cd1d322f2bd8209974c54b6d6ef43d9
parent3e973dc4b93da06e38b263c9bd7e239d8f3f251f
ixgbevf: make use of BIT() macro to avoid shift of signed values

Also cleanup a case where we're bit shifting a value into place, and use
an unsigned constant. Make use of the unsigned postfix in places where
BIT() macro is not appropriate.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/defines.h
drivers/net/ethernet/intel/ixgbevf/ethtool.c
drivers/net/ethernet/intel/ixgbevf/ixgbevf.h
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c