summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/natsemi
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2016-04-13 23:08:28 (GMT)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-05-13 21:39:47 (GMT)
commita51d8c217b15b97fede844dd6860f7b3c6ffcfef (patch)
tree0153da876d8119a5df6dd02f585ab1ad731ea5ba /drivers/net/ethernet/natsemi
parent847042a6a51e6dbb789c259750609b78aa3f27a3 (diff)
downloadlinux-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