diff options
author | Jacob Keller <[email protected]> | 2016-04-13 16:08:31 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2016-05-13 15:12:03 -0700 |
commit | 0ed2dbf4f469e2e286d903ebc091edfd9be4d063 (patch) | |
tree | 83d66d7ed1cc842f76f266ca8a4ac97b02e1f80b /net/switchdev/switchdev.c | |
parent | 12b28b41084aa61970fecb417c66c88dcce6afed (diff) |
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 <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions