linux/drivers/hwspinlock
Wei Yongjun e352614cd3 hwspinlock/core: move the dereference below the NULL test
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>
2012-09-10 13:19:25 +03:00
..
Kconfig hwspinlock/u8500: add hwspinlock driver 2011-09-21 19:57:45 +03:00
Makefile hwspinlock/u8500: add hwspinlock driver 2011-09-21 19:57:45 +03:00
hwspinlock_core.c hwspinlock/core: move the dereference below the NULL test 2012-09-10 13:19:25 +03:00
hwspinlock_internal.h hwspinlock/core: register a bank of hwspinlocks in a single API call 2011-09-21 19:45:34 +03:00
omap_hwspinlock.c hwspinlock/omap: omap_hwspinlock_remove should be __devexit 2011-09-21 19:57:45 +03:00
u8500_hsem.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-08 18:34:16 -08:00