summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2012-11-22 00:11:09 +0900
committerKukjin Kim <kgene.kim@samsung.com>2012-11-22 00:11:09 +0900
commit70b9b24d4d240ff5f6087bca4013c6969af275ab (patch)
treebf856fa979bdbed8b26bd2db04ad562b19b9d531 /init
parentf4a75d2eb7b1e2206094b901be09adb31ba63681 (diff)
downloadlinux-stable-70b9b24d4d240ff5f6087bca4013c6969af275ab.tar.gz
linux-stable-70b9b24d4d240ff5f6087bca4013c6969af275ab.tar.bz2
linux-stable-70b9b24d4d240ff5f6087bca4013c6969af275ab.zip
ARM: S3C24XX: Fix potential NULL pointer dereference error
chan->end is tested for being NULL. However in the event that it is NULL, the subsequent assignment statement would lead to NULL pointer dereference. Thus dereferencing it only when it is not NULL. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions