aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
diff options
context:
space:
mode:
authorEmil Tantilov <emil.s.tantilov@intel.com>2013-02-05 09:43:26 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2013-04-17 21:24:59 -0700
commitd01115752f5e37b2c79280d60c0e8e19267a0cc9 (patch)
tree8a53f798b5395b17760b02d8617f3cd0b31e8346 /drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
parentixgbe: Mask off check of frag_off as we only want fragment offset (diff)
downloadlinux-dev-d01115752f5e37b2c79280d60c0e8e19267a0cc9.tar.xz
linux-dev-d01115752f5e37b2c79280d60c0e8e19267a0cc9.zip
ixgbe: don't do arithmetic operations on bitmasks
Make the calculation of eerd consistent between the read and write functions by using | instead of + for IXGBE_EEPROM_RW_REG_START Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions