summaryrefslogtreecommitdiff
path: root/drivers/crypto/ccp/ccp-crypto-sha.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2016-03-23 00:51:54 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-04-18 12:18:37 +0300
commit4dacad61514494f2eba9e60d5b4aa71971dac6a1 (patch)
treed8abfaadaf33b38aea8ad57a13a52443cba91c83 /drivers/crypto/ccp/ccp-crypto-sha.c
parentf36fdacc5fcdca7b0c0d89f031fcdc89717e0be3 (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 'drivers/crypto/ccp/ccp-crypto-sha.c')
0 files changed, 0 insertions, 0 deletions