[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160715122444.GQ8809@localhost>
Date: Fri, 15 Jul 2016 14:24:44 +0200
From: Johan Hovold <johan@...nel.org>
To: Muhammad Falak R Wani <falakreyaz@...il.com>
Cc: Johan Hovold <johan@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] USB: serial: cp210x: use kmemdup
On Thu, May 19, 2016 at 07:34:36PM +0530, Muhammad Falak R Wani wrote:
> Use kmemdup when some other buffer is immediately copied into allocated
> region. It replaces call to allocation followed by memcpy, by a single
> call to kmemdup.
>
> Signed-off-by: Muhammad Falak R Wani <falakreyaz@...il.com>
Now applied, thanks.
Johan
Powered by blists - more mailing lists