diff options
author | Alexander Sverdlin <alexander.sverdlin@nokia.com> | 2020-03-03 12:28:28 +0300 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-03-25 11:50:45 +0300 |
commit | 1a555713ac9d169dbe43363aafe0633f2dc58daf (patch) | |
tree | a606c92ee6fb6651cd643bd6678dfbbd58beff31 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f8c3cea834d27ad1a292f735ef092be7aaef1bba (diff) | |
download | linux-1a555713ac9d169dbe43363aafe0633f2dc58daf.tar.xz |
gpio: pl061: Warn when IRQ line has not been configured
Existing (irq < 0) condition is always false because adev->irq has unsigned
type and contains 0 in case of failed irq_of_parse_and_map(). Up to now all
the mapping errors were silently ignored.
Seems that repairing this check would be backwards-incompatible and might
break the probe() for the implementations without IRQ support. Therefore
warn the user instead.
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions