]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ixgbe: fix SFF data dumps of SFP+ modules from an offset
authorEmil Tantilov <emil.s.tantilov@intel.com>
Tue, 13 Aug 2013 04:59:29 +0000 (04:59 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 29 Aug 2013 10:17:11 +0000 (03:17 -0700)
commit31c7d2b06bbfe496746ef47606230447456ecf9d
tree95b4c37249eace4a09859a8d9cf9a663c690895c
parent1b1bf31a12f11f4e08239845e70aa10389312eba
ixgbe: fix SFF data dumps of SFP+ modules from an offset

This patch fixes the read loop for the I2C data to account for the offset.

Also includes a whitespace cleanup and removes ret_val as it is not needed.

CC: Ben Hutchings <bhutchings@solarflare.com>
Reported-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Reviewed-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c