From: Rickard Strandqvist Date: Mon, 12 Jan 2015 20:42:34 +0000 (-0800) Subject: staging: line6: toneport.c: Fix for possible null pointer dereference X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~130^2~55^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a248ce068f560ece6b72eb75b54380e3d800cbab;p=pandora-kernel.git staging: line6: toneport.c: Fix for possible null pointer dereference The NULL check was done to late, and there it was a risk of a possible null pointer dereference. This was partially found by using a static code analysis program called cppcheck. Signed-off-by: Rickard Strandqvist Reviewed-by: Stefan Hajnoczi Signed-off-by: Greg Kroah-Hartman Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed