diff options
author | Jiasheng Jiang <jiasheng@iscas.ac.cn> | 2021-12-22 15:41:12 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-22 10:23:03 +0000 |
commit | cb93b3e11d405f20a405a07482d01147ef4934a3 (patch) | |
tree | 56f83f34ec880697af2c7cfd0b3c910b4789abe3 /tools/perf/scripts/python/syscall-counts.py | |
parent | db6d6afe382de5a65d6ccf51253ab48b8e8336c3 (diff) |
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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions