ixgbe: fix access to last byte of EEPROM
authorRemy Horton <remy.horton@intel.com>
Thu, 17 Sep 2015 13:47:16 +0000 (14:47 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 28 Oct 2015 16:14:41 +0000 (17:14 +0100)
commit6fc6a0915d934de85dce38e0abb1a3cf7f5389d0
treed3e888a17291e3225124f3df96331f40a1ecae29
parente81a315e5dc507786e48964bf0050ea6d5148f9b
ixgbe: fix access to last byte of EEPROM

Incorrect operator in ixgbe_get_eeprom & ixgbe_set_eeprom prevents
last byte of EEPROM being read/written, and hence cannot be dumped
or updated in entirity using these functions.

Fixes: 0198848a47f5 ("ixgbe: add access to specific device info")

Signed-off-by: Remy Horton <remy.horton@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c