diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2016-04-13 23:08:28 (GMT) |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-05-13 21:39:47 (GMT) |
commit | a51d8c217b15b97fede844dd6860f7b3c6ffcfef (patch) | |
tree | 0153da876d8119a5df6dd02f585ab1ad731ea5ba /drivers/net/ethernet/natsemi | |
parent | 847042a6a51e6dbb789c259750609b78aa3f27a3 (diff) | |
download | linux-a51d8c217b15b97fede844dd6860f7b3c6ffcfef.tar.xz |
igb: use BIT() macro or unsigned prefix
For bitshifts, we should make use of the BIT macro when possible, and
ensure that other bitshifts are marked as unsigned. This helps prevent
signed bitshift errors, and ensures similar style.
Make use of GENMASK and the unsigned postfix where BIT() isn't
appropriate.
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/natsemi')
0 files changed, 0 insertions, 0 deletions