diff options
author | Thor Thayer <tthayer@opensource.altera.com> | 2016-10-25 18:31:23 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-10-25 20:23:19 +0200 |
commit | 5a195c6d4ecf43be26ee1c8be6140025832adfd2 (patch) | |
tree | 361a8a073c8d3143c3c291053c045b4b80b4fea4 /drivers/gpio/gpiolib-acpi.c | |
parent | gpio: altera-a10sr: Drop unnecessary gpiochip_remove (diff) | |
download | linux-5a195c6d4ecf43be26ee1c8be6140025832adfd2.tar.xz linux-5a195c6d4ecf43be26ee1c8be6140025832adfd2.zip |
gpio: gpiolib-devprop: Check chip->parent pointer before dereferencing
Confirm the chip->parent is valid before dereferencing because
the parent parameter is optional.
Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib-acpi.c')
0 files changed, 0 insertions, 0 deletions