git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dbc5ce
)
TTY: serial: move the dereference below the NULL test
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Fri, 7 Sep 2012 06:53:49 +0000
(14:53 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 10 Sep 2012 23:33:02 +0000
(16:33 -0700)
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>
No differences found