Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1683184
| From | hari prasath <gehariprasath@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] staging: atomisp: replace kmalloc & memcpy with kmemdup |
| Date | 2017-07-07 15:30 +0200 |
| Message-ID | <u0Bux-4As-3@gated-at.bofh.it> (permalink) |
| References | <u0A5r-3x2-1@gated-at.bofh.it> <u0A5r-3x2-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 07-Jul-2017 5:25 PM, "Alan Cox" <alan@linux.intel.com> wrote: 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 ? > Yes & thanks for pointing me that. I will send a v2 version. -Hari
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] staging: atomisp: replace kmalloc & memcpy with kmemdup Hari Prasath <gehariprasath@gmail.com> - 2017-07-07 14:00 +0200
Re: [PATCH] staging: atomisp: replace kmalloc & memcpy with kmemdup Alan Cox <alan@linux.intel.com> - 2017-07-07 14:00 +0200
Re: [PATCH] staging: atomisp: replace kmalloc & memcpy with kmemdup hari prasath <gehariprasath@gmail.com> - 2017-07-07 15:30 +0200
csiph-web