net/ice: fix EEPROM range check
authorXiao Wang <xiao.w.wang@intel.com>
Sun, 5 May 2019 05:48:21 +0000 (13:48 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 May 2019 10:00:31 +0000 (12:00 +0200)
commit4e968cacb873d8497e95075b749295297745f92d
tree99bb385825ef318dbb6004395cd1dce31a99d197
parent8df10eb60ff703649510c66df7907ac1be5c21b9
net/ice: fix EEPROM range check

The last word should not cross shadow RAM boundary.

Fixes: 68a1ab82ad74 ("net/ice: speed up to retrieve EEPROM")
Cc: stable@dpdk.org
Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_ethdev.c