diff options
author | Jacob Keller <[email protected]> | 2016-04-13 16:08:28 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2016-05-13 14:39:47 -0700 |
commit | a51d8c217b15b97fede844dd6860f7b3c6ffcfef (patch) | |
tree | 0153da876d8119a5df6dd02f585ab1ad731ea5ba /net/switchdev/switchdev.c | |
parent | 847042a6a51e6dbb789c259750609b78aa3f27a3 (diff) |
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 <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions