diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2017-12-21 17:37:24 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-01-02 09:31:20 +0100 |
commit | 30322bcf82d74cad0d6e1cf9ba7fa7fa48c7a026 (patch) | |
tree | f46a497daef538e4bce3a9491db6dedbb9a1e8bf /mm/hugetlb.c | |
parent | gpio: fix aspeed_gpio_banks array size check (diff) | |
download | linux-30322bcf82d74cad0d6e1cf9ba7fa7fa48c7a026.tar.xz linux-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 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions