Re: [PATCH] ethernet: (niu) fix missing checks of niu_pci_eeprom_read
From: David Miller
Date: Thu Dec 27 2018 - 19:19:58 EST
From: Kangjie Lu <kjlu@xxxxxxx>
Date: Tue, 25 Dec 2018 01:56:14 -0600
> niu_pci_eeprom_read() may fail, so we should check its return value
> before using the read data.
> Signed-off-by: Kangjie Lu <kjlu@xxxxxxx>