aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/ibmasm/ibmasmfs.c
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2016-03-21 12:03:50 +0000
committerLinus Walleij <[email protected]>2016-03-30 08:39:39 +0000
commit8d8ee18cc707f498b6dad18915576f23b00bcff8 (patch)
treebb2862066c6a7494e3e1b22d56961db3cf740f0b /drivers/misc/ibmasm/ibmasmfs.c
parentgpio: menz127: Drop lock field from struct men_z127_gpio (diff)
downloadkernel-8d8ee18cc707f498b6dad18915576f23b00bcff8.tar.gz
kernel-8d8ee18cc707f498b6dad18915576f23b00bcff8.zip
gpio: xgene: Prevent NULL pointer dereference
platform_get_resource() can return NULL, thus add NULL test to prevent NULL pointer dereference. Signed-off-by: Axel Lin <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/misc/ibmasm/ibmasmfs.c')
0 files changed, 0 insertions, 0 deletions