diff options
author | Linus Walleij <[email protected]> | 2016-06-16 11:55:55 +0200 |
---|---|---|
committer | Richard Weinberger <[email protected]> | 2016-06-23 00:29:31 +0200 |
commit | c0a1ecb9f4e208f4b75d88fa9669748e3fd705ab (patch) | |
tree | 0801e8b3a6d396a26d3e9ec2ee6720ba22e3ea87 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 39243ee771666e02201ba89c1d76fdc28e9cf681 (diff) |
gpio: make library immune to error pointers
Most functions that take a GPIO descriptor in need to check the
descriptor for IS_ERR(). We do this mostly in the VALIDATE_DESC()
macro except for the gpiod_to_irq() function which needs special
handling.
Cc: [email protected]
Reported-by: Grygorii Strashko <[email protected]>
Reviewed-by: Grygorii Strashko <[email protected]>
Acked-by: Alexandre Courbot <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions