]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/video/backlight/lm3630a_bl.c: potential NULL deref in probe()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 5 Nov 2013 05:56:18 +0000 (16:56 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:56:18 +0000 (16:56 +1100)
commitfdc707c842134716e59de09a7cef2ca67d1b8ee9
treec78d26e82abb68fee54e855f72b3526cfa7887c1
parentab0c8e97fe7c0c82f8f51331f651ac48c3e60d5a
drivers/video/backlight/lm3630a_bl.c: potential NULL deref in probe()

We dereference "pdata" later in the function so we can't leave it as NULL.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/lm3630a_bl.c