From: Sachin Kamat Date: Wed, 21 Nov 2012 15:11:09 +0000 (+0900) Subject: ARM: S3C24XX: Fix potential NULL pointer dereference error X-Git-Tag: v3.7-rc8~21^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70b9b24d4d240ff5f6087bca4013c6969af275ab;p=pandora-kernel.git 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 Signed-off-by: Kukjin Kim --- Reading git-diff-tree failed