From: Sachin Kamat Date: Mon, 17 Sep 2012 09:50:22 +0000 (+0530) Subject: DMA: PL330: Fix potential NULL pointer dereference in pl330_submit_req() X-Git-Tag: v3.6-rc7~20^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e2c682becb20416c140aa0d6d3137b51a5c76da;p=pandora-kernel.git DMA: PL330: Fix potential NULL pointer dereference in pl330_submit_req() 'r->cfg' is being checked for NULL. However, it is dereferenced in the previous statements. Thus moving those statements within the check. Signed-off-by: Sachin Kamat Acked-by: Jassi Brar Cc: Stable Signed-off-by: Vinod Koul --- Reading git-diff-tree failed