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: Ohad Ben-Cohen <ohad@wizery.com> |
||
|---|---|---|
| .. | ||
| hwspinlock_core.c | ||
| hwspinlock_internal.h | ||
| Kconfig | ||
| Makefile | ||
| omap_hwspinlock.c | ||
| u8500_hsem.c | ||