staging: brcm80211: brcmfmac: Fix memset using sizeof(ptr) not sizeof(*ptr)
authorJoe Perches <joe@perches.com>
Mon, 9 May 2011 15:51:29 +0000 (08:51 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 May 2011 18:14:08 +0000 (11:14 -0700)
Found via coccinelle script

@@
type T;
T* ptr;
expression E1;
@@

* memset(E1, 0, sizeof(ptr));

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found