diff options
author | 2021-12-22 15:41:12 +0800 | |
---|---|---|
committer | 2021-12-22 10:23:03 +0000 | |
commit | cb93b3e11d405f20a405a07482d01147ef4934a3 (patch) | |
tree | 56f83f34ec880697af2c7cfd0b3c910b4789abe3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fjes: Check for error irq (diff) | |
download | wireguard-linux-cb93b3e11d405f20a405a07482d01147ef4934a3.tar.xz wireguard-linux-cb93b3e11d405f20a405a07482d01147ef4934a3.zip |
drivers: net: smc911x: Check for error irq
Because platform_get_irq() could fail and return error irq.
Therefore, it might be better to check it if order to avoid the use of
error irq.
Fixes: ae150435b59e ("smsc: Move the SMC (SMSC) drivers")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions