Re: [PATCH] staging: android: ion: Initialize dma_address of new sg list

From: Dan Carpenter
Date: Mon Feb 12 2018 - 02:06:42 EST


On Fri, Feb 09, 2018 at 10:16:56PM -0800, Liam Mark wrote:
> Fix the dup_sg_table function to initialize the dma_address of the new
> sg list entries instead of the source dma_address entries.
>
> Fixes: 17fd283f3870 ("staging: android: ion: Duplicate sg_table")
> Signed-off-by: Liam Mark <lmark@xxxxxxxxxxxxxx>

How did you find this bug? What are the user visible effects of this
bug? I'm probably going to ask you to send a v2 patch with a new
changelog depending on the answers to these questions.

regards,
dan carpenter