]> git.baikalelectronics.ru Git - kernel.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)
commit7b4ac6a1cbff9f76f81c81a667d90e119176a76e
treefa6e52465a0d2f6e0ebc08d9dddd57e05474b37c
parentcf4fe52322fd39c8c62a619a6d9e35862fba0a4c
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