From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Delvare Subject: Re: [PATCH] i2c-dev: Use memdup_user Date: Sat, 7 Jan 2012 11:00:39 +0100 Message-ID: <20120107110039.6b4142f0@endymion.delvare> References: <1313223430.16820.14.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1313223430.16820.14.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Thomas Meyer Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linux Kernel Mailing List List-Id: linux-i2c@vger.kernel.org Hi Thomas, Sorry for the late reply. On Sat, 13 Aug 2011 10:17:06 +0200, Thomas Meyer wrote: > From: Thomas Meyer > > Use kmemdup_user rather than duplicating its implementation > This is a little bit restricted to reduce false positives > > The semantic patch that makes this output is available > in scripts/coccinelle/api/memdup_user.cocci. > > More information about semantic patching is available at > http://coccinelle.lip6.fr/ > > Signed-off-by: Thomas Meyer Applied, thanks. -- Jean Delvare