Re: [PATCH] ion: scatterlist offset not used for buffer map

From: John Einar Reitan
Date: Mon Apr 11 2016 - 03:10:21 EST


> I don't think this is right. A compound_page still has a page struct
> for every page, you should be passing the page struct where your data
> starts. Using an offset > PAGE_SIZE is going to break lots of places,
> for example anywhere that uses kmap(sg_page(sg)).

Was kind-of expecting that response. Will update, thanks.