OpenCloudOS-Kernel/drivers/memstick
Wei Yongjun 940da353a8 memstick: 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>
Cc: Maxim Levitsky <maximlevitsky@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-02-27 19:10:23 -08:00
..
core memstick: convert to idr_alloc() 2013-02-27 19:10:17 -08:00
host memstick: move the dereference below the NULL test 2013-02-27 19:10:23 -08:00
Kconfig drivers/memstick: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:52:44 -08:00
Makefile memstick: change to new flag variable 2011-03-17 14:05:34 +01:00