staging: android: ion: Initialize dma_address of new sg list
authorLiam Mark <lmark@codeaurora.org>
Fri, 16 Feb 2018 20:19:22 +0000 (12:19 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Feb 2018 08:05:35 +0000 (09:05 +0100)
commit54ef5b9db76767e91f77b0588245e6e87d891548
tree56b19ac5e335ba589b0b4c177f09e5eba365026e
parent2baddf262e98762b36b0866065c21452fff1beda
staging: android: ion: Initialize dma_address of new sg list

Fix the dup_sg_table function to initialize the dma_address of the new
sg list entries instead of the source dma_address entries.

Since ION duplicates the sg_list this issue does not appear to result in
an actual bug.

Signed-off-by: Liam Mark <lmark@codeaurora.org>
Acked-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.c