[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 07 Jul 2017 12:55:51 +0100
From: Alan Cox <alan@...ux.intel.com>
To: Hari Prasath <gehariprasath@...il.com>, mchehab@...nel.org
Cc: gregkh@...uxfoundation.org, rvarsha016@...il.com,
julia.lawall@...6.fr, singhalsimran0@...il.com,
linux-media@...r.kernel.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: atomisp: replace kmalloc & memcpy with kmemdup
On Fri, 2017-07-07 at 17:20 +0530, Hari Prasath wrote:
> kmemdup can be used to replace kmalloc followed by a memcpy.This was
> pointed out by the coccinelle tool.
And kstrdup could do the job even better I think ?
Alan
Powered by blists - more mailing lists