Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1444252

Re: [PATCH] USB: serial: cp210x: use kmemdup

From Johan Hovold <johan@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] USB: serial: cp210x: use kmemdup
Date 2016-07-15 14:30 +0200
Message-ID <rVapH-6QL-11@gated-at.bofh.it> (permalink)
References <rAwOd-NU-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@gmail.com>

Now applied, thanks.

Johan

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] USB: serial: cp210x: use kmemdup Johan Hovold <johan@kernel.org> - 2016-07-15 14:30 +0200

csiph-web