On Thu, Nov 30, 2023 at 11:40:18AM +0800, Su Hui wrote: > Clang static checker complains that value stored to 'from' is never read. > And memcpy_from_folio() only copy the last chunk memory from folio to > destination. > Using 'to += chunk' to replace 'from += chunk' to fix this typo problem. > > Fixes: b23d03ef7af5 ("highmem: add memcpy_to_folio() and memcpy_from_folio()") > Signed-off-by: Su Hui <suhui@xxxxxxxxxxxx> Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>