tgafb: potential NULL dereference in init
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 16 Dec 2013 09:49:23 +0000 (12:49 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 17 Jan 2014 08:57:48 +0000 (10:57 +0200)
commit0ede5804ca3b42c831f7440ec29bc7187e5376bb
tree6760c9fd0cda38527f4d237d2e5125befff5e25a
parent6fc19c40be96df73d81d8123e31fe45c16c6c2b6
tgafb: potential NULL dereference in init

Static checkers complain that there are paths where "tga_type_name" can
be NULL.  I've re-arranged the code slightly so that's impossible.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/tgafb.c
This page took 0.025144 seconds and 5 git commands to generate.