diff options
| author | Li Qiong <liqiong@nfschina.com> | 2022-08-12 06:09:54 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2022-08-12 13:29:46 +0300 |
| commit | 40b4ac880e21d917da7f3752332fa57564a4c202 (patch) | |
| tree | 80fac824e1861a7e2929197cfa8156130995e8a9 /scripts/gdb/linux/tasks.py | |
| parent | 75d8620d46f00fcece574dd70ea36acfdfcf171b (diff) | |
| download | linux-40b4ac880e21d917da7f3752332fa57564a4c202.tar.xz | |
net: lan966x: fix checking for return value of platform_get_irq_byname()
The platform_get_irq_byname() returns non-zero IRQ number
or negative error number. "if (irq)" always true, chang it
to "if (irq > 0)"
Signed-off-by: Li Qiong <liqiong@nfschina.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions
