diff options
| author | Vladimir Zapolskiy <[email protected]> | 2016-03-22 22:51:54 +0000 |
|---|---|---|
| committer | Tomi Valkeinen <[email protected]> | 2016-04-18 09:18:37 +0000 |
| commit | 4dacad61514494f2eba9e60d5b4aa71971dac6a1 (patch) | |
| tree | d8abfaadaf33b38aea8ad57a13a52443cba91c83 /net/switchdev/switchdev.c | |
| parent | video: ARM CLCD: runtime check for Versatile (diff) | |
| download | kernel-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
