[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPcyv4hq5dX=HN=wYZEddOu7yX1SU4EXT0tT1hUUwKpL7txXLQ@mail.gmail.com>
Date: Mon, 11 May 2015 22:44:25 -0700
From: Dan Williams <dan.j.williams@...el.com>
To: Julia Lawall <julia.lawall@...6.fr>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
linux-arch@...r.kernel.org, Jens Axboe <axboe@...nel.dk>,
Rik van Riel <riel@...hat.com>,
linux-nvdimm <linux-nvdimm@...1.01.org>,
david <david@...morbit.com>, Christoph Hellwig <hch@....de>,
Mel Gorman <mgorman@...e.de>, j.glisse@...il.com,
linux-fsdevel <linux-fsdevel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...nel.org>
Subject: Re: [PATCH v3 05/11] scatterlist: use sg_phys()
On Mon, May 11, 2015 at 10:24 PM, Julia Lawall <julia.lawall@...6.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 struct page.
>>
>> // sg_phys.cocci: convert usage page_to_phys(sg_page(sg)) to sg_phys(sg)
>> // usage: make coccicheck COCCI=sg_phys.cocci MODE=patch
>>
>> virtual patch
>> virtual report
>> virtual org
>
> Just for information, you don't need the three lines above. There are ony
> useful when you want the semantic patch to support several kinds of
> output.
>
Ok, I think I added them from copying a coccicheck script, and if I
delete virtual patch I get
"virtual rule patch not supported"
when running:
make coccicheck COCCI=sg_phys.cocci MODE=patch
I suspect I am invoking it wrong.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists