commit | b9ede5f1dc03f96949dcaa8f8b3483766c047260 | [log] [tgz] |
---|---|---|
author | Shan Wei <shanwei@cn.fujitsu.com> | Tue Mar 08 11:02:03 2011 +0800 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Mar 09 16:10:45 2011 -0500 |
tree | 8b33c42e345cdaa5d9954043ed1b001e125714cd | |
parent | d07bfd8b6f20a81d7ec65c50f35b053d9e3aa740 [diff] |
mwl8k: use kcalloc instead of kmalloc & memset Use kcalloc or kzalloc rather than the combination of kmalloc and memset. Thanks coccicheck for detecting this. (http://coccinelle.lip6.fr/) Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>