[PATCH 9/18] staging: rtl8723au: Use kmemdup instead of kmalloc + memcpy

Benoit Taine benoit.taine at lip6.fr
Mon May 26 15:57:45 UTC 2014


On 26/05/2014 17:43, Jes Sorensen wrote:
> Benoit Taine <benoit.taine at lip6.fr> writes:
> > This issue was reported by coccicheck using the semantic patch 
> > at scripts/coccinelle/api/memdup.cocci
> >
> > Signed-off-by: Benoit Taine <benoit.taine at lip6.fr>
> > ---
> > Tested by compilation without errors.
> >
> >  drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c |    3 +--
> >  drivers/staging/rtl8723au/os_dep/ioctl_cfg80211.c |   16 ++++++----------
> >  2 files changed, 7 insertions(+), 12 deletions(-)
> 
> Benoit,
> 
> I believe this was already applied to staging-next - if you feel
> something is missing. Could you please re-diff against the latest
> staging-next tree.

Agreed, it is mostly 80 chars per line compliance. I will resend.

-- 
Benoît Taine
Master cycle intern
Regal Team. LIP6


More information about the devel mailing list