aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <[email protected]>2016-03-22 22:51:54 +0000
committerTomi Valkeinen <[email protected]>2016-04-18 09:18:37 +0000
commit4dacad61514494f2eba9e60d5b4aa71971dac6a1 (patch)
treed8abfaadaf33b38aea8ad57a13a52443cba91c83 /net/switchdev/switchdev.c
parentvideo: ARM CLCD: runtime check for Versatile (diff)
downloadkernel-4dacad61514494f2eba9e60d5b4aa71971dac6a1.tar.gz
kernel-4dacad61514494f2eba9e60d5b4aa71971dac6a1.zip
omapfb: panel-sharp-ls037v7dw01: fix check of gpio_to_desc() return value
The change fixes a check of gpio_to_desc() return value, the function returns either a valid pointer to struct gpio_desc or NULL, this makes IS_ERR() check invalid and may lead to a NULL pointer dereference in runtime. Signed-off-by: Vladimir Zapolskiy <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions