From: Wei Yongjun Date: Thu, 29 Nov 2012 02:30:01 +0000 (-0500) Subject: staging: sb105x: fix potential NULL pointer dereference in mp_chars_in_buffer() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~83^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0ab02361167faa82198b783a8d555eb6f58901c;p=pandora-kernel.git staging: sb105x: fix potential NULL pointer dereference in mp_chars_in_buffer() The dereference to 'state' should be moved below the NULL test. Cc: Steven Rostedt Signed-off-by: Wei Yongjun Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed