]> git.karo-electronics.de Git - linux-beck.git/commit
NFC: Move the nfcwilink dereference below the NULL test
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sat, 8 Sep 2012 01:53:22 +0000 (09:53 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Sep 2012 22:17:26 +0000 (00:17 +0200)
commitd6650a2ccfdcf536841c2f880a1a6f19fce2e3a1
treefa6e52465a0d2f6e0ebc08d9dddd57e05474b37c
parentf4f20d0650e9cd13f65b5e7f93af126b526af721
NFC: Move the nfcwilink dereference 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: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/nfcwilink.c