Tag: 9ad90238bf4faa488680cf6dddf0d2b137960cc8

ARM: davinci: dm644x evm: move pointer dereference below NULL check

Author: Wei Yongjun <yongjun_wei@trendmicro.com.cn> 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 Signed-off-by: Sekhar Nori — arch/arm/mach-davinci/board-dm644x-evm.c | 5 +++– 1 file changed, 3 insertions(+), 2 deletions(-)   diff –git a/arch/arm/mach-davinci/board-dm644x-evm.c b/arch/arm/mach-davinci/board-dm644x-evm.c index f22572ce..f8a99ee 100644 — a/arch/arm/mach-davinci/board-dm644x-evm.c +++ b/arch/arm/mach-davinci/board-dm644x-evm.c @@ …

Continue reading