diff options
author | 2017-12-21 18:37:24 +0200 | |
---|---|---|
committer | 2018-01-02 09:31:20 +0100 | |
commit | 30322bcf82d74cad0d6e1cf9ba7fa7fa48c7a026 (patch) | |
tree | f46a497daef538e4bce3a9491db6dedbb9a1e8bf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: fix aspeed_gpio_banks array size check (diff) | |
download | linux-rng-30322bcf82d74cad0d6e1cf9ba7fa7fa48c7a026.tar.xz linux-rng-30322bcf82d74cad0d6e1cf9ba7fa7fa48c7a026.zip |
gpiolib: don't dereference a desc before validation
The fix restores a proper validation of an input gpio desc, which
might be needed to deal with optional GPIOs correctly.
Fixes: 02e479808b5d ("gpio: Alter semantics of *raw* operations to actually be raw")
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions