Re: [PATCH v2] staging: rtl8712: avoid a useless call to memset().

2012-12-10 Thread Dan Carpenter
On Tue, Dec 11, 2012 at 01:20:48AM +0100, Cyril Roelandt wrote: > In r8711_wx_get_wap(), make sure we do not call memcpy() on a memory area that > has just been zeroed by a call to memset(). > Acked-by: Dan Carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

[PATCH v2] staging: rtl8712: avoid a useless call to memset().

2012-12-10 Thread Cyril Roelandt
In r8711_wx_get_wap(), make sure we do not call memcpy() on a memory area that has just been zeroed by a call to memset(). Signed-off-by: Cyril Roelandt --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/stagin