commit | 3d39aa6869c3cfc72dccb6c9431ecdb3ad7627ad | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Fri Sep 07 14:53:49 2012 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Sep 10 16:33:02 2012 -0700 |
tree | 2da51f22ede1fdf28768f40b16e31b85d8697268 | |
parent | 3dbc5ce2bffa40ef9a95247f3e9ea0f8874489ac [diff] |
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 <yongjun_wei@trendmicro.com.cn> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>