diff options
| author | Arnd Bergmann <[email protected]> | 2016-09-03 01:17:20 +0200 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2016-09-05 16:40:52 +0530 |
| commit | 524c6e04f826cea8a34a27136d8f5925df9213ed (patch) | |
| tree | 326faa33e03fe2ecb9ca6889c50bdde632add40a /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 028e84a1de7cba6a3e4cf1a22094b76a4b92cefb (diff) | |
dmaengine: sirf: fix irq number error check
irq_of_parse_and_map() returns 0 on error, no NO_IRQ, so the
failure condition can never be met.
This changes the comparison to check for zero instead.
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions