diff options
author | Kangjie Lu <kjlu@umn.edu> | 2018-12-25 10:56:14 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-20 12:13:13 +0300 |
commit | 1f8aea084cb3d962bdd1ceaadf0f6d54aa7862d5 (patch) | |
tree | f322abc636560463e2c62b79f8bea946987da3d3 /scripts | |
parent | ccc9ed24493bc02b5174184ae5c73fee422cd0bd (diff) | |
download | linux-1f8aea084cb3d962bdd1ceaadf0f6d54aa7862d5.tar.xz |
niu: fix missing checks of niu_pci_eeprom_read
[ Upstream commit 26fd962bde0b15e54234fe762d86bc0349df1de4 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions