Re: [PATCH 1/2] sound: q6core: Use kmemdup to replace kzalloc + memcpy

2018-09-10 Thread zhong jiang
On 2018/9/10 22:19, Mark Brown wrote: > On Sat, Sep 08, 2018 at 04:36:19PM +0800, zhong jiang wrote: >> kmemdup has implemented the function that kzalloc() + memcpy() will >> do. and we prefer to use the kmemdup rather than the open coded >> implementation. > Please submit patches using subject li

Re: [PATCH 1/2] sound: q6core: Use kmemdup to replace kzalloc + memcpy

2018-09-10 Thread Mark Brown
On Sat, Sep 08, 2018 at 04:36:19PM +0800, zhong jiang wrote: > kmemdup has implemented the function that kzalloc() + memcpy() will > do. and we prefer to use the kmemdup rather than the open coded > implementation. Please submit patches using subject lines reflecting the style for the subsystem.

[PATCH 1/2] sound: q6core: Use kmemdup to replace kzalloc + memcpy

2018-09-08 Thread zhong jiang
kmemdup has implemented the function that kzalloc() + memcpy() will do. and we prefer to use the kmemdup rather than the open coded implementation. Signed-off-by: zhong jiang --- sound/soc/qcom/qdsp6/q6core.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sound/soc/q