diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2016-04-14 02:08:31 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-05-14 01:12:03 +0300 |
commit | 0ed2dbf4f469e2e286d903ebc091edfd9be4d063 (patch) | |
tree | 83d66d7ed1cc842f76f266ca8a4ac97b02e1f80b /drivers/net/ethernet/intel/e1000e/ethtool.c | |
parent | 12b28b41084aa61970fecb417c66c88dcce6afed (diff) | |
download | linux-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/ethtool.c')
0 files changed, 0 insertions, 0 deletions