rtlwifi: Fix memset argument order
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 17 Mar 2011 18:08:57 +0000 (14:08 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Mar 2011 19:19:48 +0000 (15:19 -0400)
commit6e9d592f02f657361168c94e22d9602cad71a09c
treeaa8680745ca3ba24313fcfa65dcb22462b3441ca
parent5da201a4c86aac6c46a071c5c8255601090b65b2
rtlwifi: Fix memset argument order

These were found using the following semantic match:
// <smpl>
@@expression E1; type T;@@
* memset(E1, ... * sizeof(T) * ..., ...);
// </smpl>

Also take this opportunity to remove the unnecessary void* casts.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/efuse.c