summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/e1000e/netdev.c
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2016-04-13 23:08:31 (GMT)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-05-13 22:12:03 (GMT)
commit0ed2dbf4f469e2e286d903ebc091edfd9be4d063 (patch)
tree83d66d7ed1cc842f76f266ca8a4ac97b02e1f80b /drivers/net/ethernet/intel/e1000e/netdev.c
parent12b28b41084aa61970fecb417c66c88dcce6afed (diff)
downloadlinux-0ed2dbf4f469e2e286d903ebc091edfd9be4d063.tar.xz
igbvf: use BIT() macro instead of shifts
To prevent signed bitshift issues, and improve code readability, use the BIT() macro. Also make use of GENMASK or the unsigned postfix where this is more appropriate than BIT() Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/e1000e/netdev.c')
0 files changed, 0 insertions, 0 deletions