diff options
author | 2022-08-12 11:09:54 +0800 | |
---|---|---|
committer | 2022-08-12 11:29:46 +0100 | |
commit | 40b4ac880e21d917da7f3752332fa57564a4c202 (patch) | |
tree | 80fac824e1861a7e2929197cfa8156130995e8a9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: cxgb3: Fix comment typo (diff) | |
download | linux-dev-40b4ac880e21d917da7f3752332fa57564a4c202.tar.xz linux-dev-40b4ac880e21d917da7f3752332fa57564a4c202.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions