[firefly] [PATCH 1/6] staging: rtl8187se: use memdup_user instead of kmalloc+copy_from_user

Daniel Baluta daniel.baluta at gmail.com
Thu Oct 24 23:06:15 EEST 2013


On Thu, Oct 24, 2013 at 1:29 AM, Teodora Baluta <teobaluta at gmail.com> wro te:
> This patch fixes the following coccinelle warning to use memdup_user
> rather than duplicating its implementation:
>
> drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c:2947:9-16: WARNING opportunity for memdup_user
>
> Signed-off-by: Teodora Baluta <teobaluta at gmail.com>

I would try reduce the commit message to 80 chars if possible.

Otherwise, it looks good. Thanks Teo!


More information about the firefly mailing list