diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-02-27 17:05:46 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-27 19:10:23 -0800 |
commit | 940da353a83e895ea600cb8ab17dceefb1bcb469 (patch) | |
tree | 233e9a0879f7c5b193ceb5dd32b92162c7ea8866 /drivers/w1 | |
parent | 507063b2a435b24951bce8e1f67ab65cda490f1b (diff) | |
download | op-kernel-dev-940da353a83e895ea600cb8ab17dceefb1bcb469.zip op-kernel-dev-940da353a83e895ea600cb8ab17dceefb1bcb469.tar.gz |
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>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions