aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/rionet.c
diff options
context:
space:
mode:
authorGravatar Jacob Keller <jacob.e.keller@intel.com> 2016-04-13 16:08:32 -0700
committerGravatar Jeff Kirsher <jeffrey.t.kirsher@intel.com> 2016-05-13 15:15:36 -0700
commit18dd23920703891c39c7965873f8ae369bd3a237 (patch)
tree77ddae144327be435d00251c69be4a936e332094 /drivers/net/rionet.c
parentigbvf: use BIT() macro instead of shifts (diff)
downloadlinux-18dd23920703891c39c7965873f8ae369bd3a237.tar.gz
linux-18dd23920703891c39c7965873f8ae369bd3a237.tar.bz2
linux-18dd23920703891c39c7965873f8ae369bd3a237.zip
e1000e: use BIT() macro for bit defines
This prevents signed bitshift issues when the shift would overwrite the signed bit, and prevents making this mistake in the future when copying and modifying code. Use GENMASK or the unsigned postfix for cases which aren't suitable for BIT() macro. 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/rionet.c')
0 files changed, 0 insertions, 0 deletions