[PATCH v3 24/24] video: fbdev-MMP: Remove call to memset after dma_alloc_coherent

Bartlomiej Zolnierkiewicz b.zolnierkie at samsung.com
Tue Jul 23 15:37:06 UTC 2019


On 7/15/19 12:40 PM, Emil Velikov wrote:
> On 2019/07/15, Fuqian Huang wrote:
>> In commit 518a2f1925c3
>> ("dma-mapping: zero memory returned from dma_alloc_*"),
>> dma_alloc_coherent has already zeroed the memory.
>> So memset is not needed.
>>
>> Signed-off-by: Fuqian Huang <huangfq.daxian at gmail.com>
>> ---
>> Changes in v3:
>>   - Use actual commit rather than the merge commit in the commit message
>>
>>  drivers/video/fbdev/mmp/fb/mmpfb.c | 1 -
>>  1 file changed, 1 deletion(-)
>>
> 
> Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Patch queued for v5.4, thanks.

Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics


More information about the dri-devel mailing list