Hi On 6/28/19 5:47 AM, Fuqian Huang wrote:
It would be better to refer actual commit or commits that implement that zeroing rather than merge point in commit log if possible.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 <[email protected]> --- drivers/i2c/busses/i2c-ismt.c | 2 -- 1 file changed, 2 deletions(-)
At quick look commit 518a2f1925c3 ("dma-mapping: zero memory returned from dma_alloc_*") is the one but I'm not really an expert here to say is that alone enough.
-- Jarkko

