Re: [PATCH v3 05/11] scatterlist: use sg_phys()

2015-05-11 Thread Dan Williams
On Mon, May 11, 2015 at 10:24 PM, Julia Lawall wrote: > > > On Tue, 12 May 2015, Dan Williams wrote: > >> Coccinelle cleanup to replace open coded sg to physical address >> translations. This is in preparation for introducing scatterlists that >> reference pfn(s) without a backing struct page.

Re: [PATCH v3 05/11] scatterlist: use sg_phys()

2015-05-11 Thread Julia Lawall
On Tue, 12 May 2015, Dan Williams wrote: > Coccinelle cleanup to replace open coded sg to physical address > translations. This is in preparation for introducing scatterlists that > reference pfn(s) without a backing struct page. > > // sg_phys.cocci: convert usage page_to_phys(sg_page(sg))

Re: [PATCH v3 05/11] scatterlist: use sg_phys()

2015-05-11 Thread Julia Lawall
On Tue, 12 May 2015, Dan Williams wrote: Coccinelle cleanup to replace open coded sg to physical address translations. This is in preparation for introducing scatterlists that reference pfn(s) without a backing struct page. // sg_phys.cocci: convert usage page_to_phys(sg_page(sg)) to

Re: [PATCH v3 05/11] scatterlist: use sg_phys()

2015-05-11 Thread Dan Williams
On Mon, May 11, 2015 at 10:24 PM, Julia Lawall julia.law...@lip6.fr wrote: On Tue, 12 May 2015, Dan Williams wrote: Coccinelle cleanup to replace open coded sg to physical address translations. This is in preparation for introducing scatterlists that reference pfn(s) without a backing