diff options
| author | Kangjie Lu <kjlu@umn.edu> | 2018-12-25 10:56:14 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-12-28 03:19:27 +0300 |
| commit | 26fd962bde0b15e54234fe762d86bc0349df1de4 (patch) | |
| tree | 6c3caa5d73943d11f1f82fca8196ba07e28e52d8 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | ca19fcb6285bfce1601c073bf4b9d2942e2df8d9 (diff) | |
| download | linux-26fd962bde0b15e54234fe762d86bc0349df1de4.tar.xz | |
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>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
