Re: [PATCH v2 08/27] i2c: busses: remove memset after dmam_alloc_coherent

2019-06-29 Thread Wolfram Sang
On Fri, Jun 28, 2019 at 09:22:31AM +0300, Jarkko Nikula wrote: > Hi > > On 6/28/19 5:47 AM, Fuqian Huang wrote: > > In commit af7ddd8a627c > > ("Merge tag 'dma-mapping-4.21' of > > git://git.infradead.org/users/hch/dma-mapping"), > > dmam_alloc_coherent has already zeroed the memory. > > So

Re: [PATCH v2 08/27] i2c: busses: remove memset after dmam_alloc_coherent

2019-06-28 Thread Jarkko Nikula
Hi On 6/28/19 5:47 AM, Fuqian Huang wrote: In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dmam_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/i2c/busses/i2c-ismt.c | 2

[PATCH v2 08/27] i2c: busses: remove memset after dmam_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dmam_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/i2c/busses/i2c-ismt.c | 2 -- 1 file changed, 2 deletions(-) diff --git