[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.10.1606281549010.5105@hadrien>
Date: Tue, 28 Jun 2016 15:49:50 +0200 (CEST)
From: Julia Lawall <julia.lawall@...6.fr>
To: Evgeniy Polyakov <zbr@...emap.net>
cc: Amitoj Kaur Chawla <amitoj1606@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] w1: Remove unneeded header file
On Tue, 28 Jun 2016, Evgeniy Polyakov wrote:
> Hi
>
> 24.06.2016, 09:18, "Amitoj Kaur Chawla" <amitoj1606@...il.com>:
> > Drop redundant include of moduleparam.h
> >
> > The Coccinelle semantic patch used to make this change is as follows:
> > @ includesmodule @
> > @@
> >
> > #include <linux/module.h>
> >
> > @ depends on includesmodule @
> > @@
> >
> > - #include <linux/moduleparam.h>
> >
> > Signed-off-by: Amitoj Kaur Chawla <amitoj1606@...il.com>
>
> Looks good to me, but these @@ are pretty cryptic.
There are two rules. The first checks for an include of module.h. The
second depends on the success of the first one. It removes and include o
moduleparam.h.
julia
Powered by blists - more mailing lists