commit | 26fd962bde0b15e54234fe762d86bc0349df1de4 | [log] [tgz] |
---|---|---|
author | Kangjie Lu <kjlu@umn.edu> | Tue Dec 25 01:56:14 2018 -0600 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 27 16:19:27 2018 -0800 |
tree | 6c3caa5d73943d11f1f82fca8196ba07e28e52d8 | |
parent | ca19fcb6285bfce1601c073bf4b9d2942e2df8d9 [diff] |
niu: fix missing checks of niu_pci_eeprom_read niu_pci_eeprom_read() may fail, so we should check its return value before using the read data. Signed-off-by: Kangjie Lu <kjlu@umn.edu> Acked-by: Shannon Nelson <shannon.lee.nelson@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>