diff options
| author | Jiri Slaby <[email protected]> | 2016-05-09 09:23:35 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-06-25 09:01:52 -0700 |
| commit | 394a9e2ca2b6326c939c90453184cbc65542cfa1 (patch) | |
| tree | b902eedfcac6d7d37b514fae68264afdd8509e33 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 934014d5220616dc6ea62da6685b79855b164643 (diff) | |
TTY: serial, handle platform_get_irq retval properly
platform_get_irq can fail, so we should handle negative value when
returned.
[v2]
platform_get_irq can actually return zero on some platforms. So do not
remove checks for irq == 0 there.
Signed-off-by: Jiri Slaby <[email protected]>
Cc: Russell King <[email protected]>
Cc: "Uwe Kleine-König" <[email protected]>
Cc: Russell King <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Laxman Dewangan <[email protected]>
Cc: Stephen Warren <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Alexandre Courbot <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions