[firefly] [PATCH] staging: rtl8192u: use memdup_user instead of kmalloc+copy_from_user

Daniel Baluta daniel.baluta at gmail.com
Thu Oct 24 22:52:57 EEST 2013

On Thu, Oct 24, 2013 at 10:50 PM, Teodora Baluta <teobaluta at gmail.com> wrote:
> Use memdup_user rather than duplicating its implementation. Fix the
> following coccinelle warnings:
> drivers/staging/rtl8192u/r8192U_core.c:3792:7-14: WARNING opportunity for memdup_user
> drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:3153:9-16: WARNING opportunity for memdup_user
> Signed-off-by: Teodora Baluta <teobaluta at gmail.com>

Looks good!

More information about the firefly mailing list