[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YrK9kKawH06f9T4h@hovoldconsulting.com>
Date: Wed, 22 Jun 2022 08:58:24 +0200
From: Johan Hovold <johan@...nel.org>
To: Slark Xiao <slark_xiao@....com>
Cc: gregkh@...uxfoundation.org, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] USB: serial: use kmemdup instead of kmalloc + memcpy
On Wed, Jun 22, 2022 at 02:21:13PM +0800, Slark Xiao wrote:
> For code neat purpose, we can use kmemdup to replace
> kmalloc + memcpy.
>
> Signed-off-by: Slark Xiao <slark_xiao@....com>
> ---
> v2: Add garmin_gps.c
> ---
> drivers/usb/serial/garmin_gps.c | 4 +---
> drivers/usb/serial/opticon.c | 4 +---
> drivers/usb/serial/sierra.c | 4 +---
> 3 files changed, 3 insertions(+), 9 deletions(-)
Applied for -next, thanks.
Johan
Powered by blists - more mailing lists