aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorLi Qiong <[email protected]>2022-08-12 11:09:54 +0800
committerDavid S. Miller <[email protected]>2022-08-12 11:29:46 +0100
commit40b4ac880e21d917da7f3752332fa57564a4c202 (patch)
tree80fac824e1861a7e2929197cfa8156130995e8a9 /scripts/gdb/linux/utils.py
parent75d8620d46f00fcece574dd70ea36acfdfcf171b (diff)
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions