diff options
author | Kangjie Lu <[email protected]> | 2018-12-25 01:56:14 -0600 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-12-27 16:19:27 -0800 |
commit | 26fd962bde0b15e54234fe762d86bc0349df1de4 (patch) | |
tree | 6c3caa5d73943d11f1f82fca8196ba07e28e52d8 /tools/perf/scripts/python/export-to-postgresql.py | |
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 <[email protected]>
Acked-by: Shannon Nelson <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions