aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-ml-ioh.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2017-05-25 08:37:37 +0000
committerLinus Walleij <[email protected]>2017-05-29 11:33:42 +0000
commitd76e8babe420edbf9f9f9c78e42ef01f0e62dc07 (patch)
tree23d83d6663f192c2e2189b6a2f94cb3ca0c1b7c2 /drivers/gpio/gpio-ml-ioh.c
parentgpio: pch: check the return value of irq_alloc_generic_chip() (diff)
downloadkernel-d76e8babe420edbf9f9f9c78e42ef01f0e62dc07.tar.gz
kernel-d76e8babe420edbf9f9f9c78e42ef01f0e62dc07.zip
gpio: sta2x11: check the return value of irq_alloc_generic_chip()
This function can fail, so check the return value before dereferencing the returned pointer. Signed-off-by: Bartosz Golaszewski <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-ml-ioh.c')
0 files changed, 0 insertions, 0 deletions