ARM: davinci: dm644x evm: move pointer dereference below NULL check
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 10 Sep 2012 04:49:23 +0000 (04:49 +0000)
committerSekhar Nori <nsekhar@ti.com>
Sat, 27 Oct 2012 11:01:03 +0000 (16:31 +0530)
commit9ad90238bf4faa488680cf6dddf0d2b137960cc8
treedcf47055eee354255d213988df8c544812ec9986
parent6f0c0580b70c89094b3422ba81118c7b959c7556
ARM: davinci: dm644x evm: move pointer dereference below NULL check

Pointer 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: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/board-dm644x-evm.c
This page took 0.025174 seconds and 5 git commands to generate.