From: Wei Yongjun Date: Fri, 7 Sep 2012 06:53:49 +0000 (+0800) Subject: TTY: serial: move the dereference below the NULL test X-Git-Tag: omap-cleanup-sparseirq-for-v3.7~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d39aa6869c3cfc72dccb6c9431ecdb3ad7627ad;p=pandora-kernel.git TTY: serial: move the dereference below the NULL test The dereference should be moved below the NULL test. spatch with a semantic match is used to found this. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed