diff options
author | 2014-11-17 18:36:23 +0800 | |
---|---|---|
committer | 2014-12-08 12:56:08 +0800 | |
commit | b29438f22c807d8a4bda6f0fb3e24318117906c0 (patch) | |
tree | 4e4b9045ec755225b5e4fb850739de3372056f8d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nios2: Use IS_ENABLED instead of #ifdefs to check config symbols (diff) | |
download | wireguard-linux-b29438f22c807d8a4bda6f0fb3e24318117906c0.tar.xz wireguard-linux-b29438f22c807d8a4bda6f0fb3e24318117906c0.zip |
nios2: fix error handling of irq_of_parse_and_map
Return value of irq_of_parse_and_map() is unsigned int, with 0
indicating failure, so testing for negative result never works.
Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Reviewed-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Ley Foon Tan <lftan@altera.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions