diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2016-03-23 00:51:54 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-04-18 12:18:37 +0300 |
commit | 4dacad61514494f2eba9e60d5b4aa71971dac6a1 (patch) | |
tree | d8abfaadaf33b38aea8ad57a13a52443cba91c83 /fs/squashfs/xattr_id.c | |
parent | f36fdacc5fcdca7b0c0d89f031fcdc89717e0be3 (diff) |
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 <vz@mleia.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'fs/squashfs/xattr_id.c')
0 files changed, 0 insertions, 0 deletions