Re: [PATCH 9/10] staging: r8188eu: Cocci spatch noderef

2013-09-20 Thread Dan Carpenter
On Thu, Sep 19, 2013 at 11:45:46PM +0200, Thomas Meyer wrote: sizeof when applied to a pointer typed expression gives the size of the pointer. Found by coccinelle spatch misc/noderef.cocci Signed-off-by: Thomas Meyer tho...@m3y3r.de --- diff -u -p

[PATCH 9/10] staging: r8188eu: Cocci spatch noderef

2013-09-19 Thread Thomas Meyer
sizeof when applied to a pointer typed expression gives the size of the pointer. Found by coccinelle spatch misc/noderef.cocci Signed-off-by: Thomas Meyer tho...@m3y3r.de --- diff -u -p a/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c b/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ---