From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752904AbaEZP46 (ORCPT ); Mon, 26 May 2014 11:56:58 -0400 Received: from isis.lip6.fr ([132.227.60.2]:54671 "EHLO isis.lip6.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752772AbaEZP44 (ORCPT ); Mon, 26 May 2014 11:56:56 -0400 X-pt: isis.lip6.fr Date: Mon, 26 May 2014 17:57:45 +0200 From: Benoit Taine To: Jes Sorensen Cc: Larry Finger , Greg Kroah-Hartman , linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH 9/18] staging: rtl8723au: Use kmemdup instead of kmalloc + memcpy Message-ID: <20140526155528.GA29520@lip6.fr> References: <1401117687-28911-1-git-send-email-benoit.taine@lip6.fr> <1401117687-28911-10-git-send-email-benoit.taine@lip6.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (isis.lip6.fr [132.227.60.2]); Mon, 26 May 2014 17:56:48 +0200 (CEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26/05/2014 17:43, Jes Sorensen wrote: > Benoit Taine writes: > > This issue was reported by coccicheck using the semantic patch > > at scripts/coccinelle/api/memdup.cocci > > > > Signed-off-by: Benoit Taine > > --- > > 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