[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTimMvG332_c4TUPefOJDDE8obowVdQ@mail.gmail.com>
Date: Tue, 7 Jun 2011 23:54:42 +0200
From: Nicolas Palix <Nicolas.Palix@...ia.fr>
To: Julia Lawall <julia@...u.dk>
Cc: Greg Dietsche <gregory.dietsche@....edu>, Gilles.Muller@...6.fr,
cocci@...u.dk, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] coccinelle: if(ret)return ret; return ret; semantic patch
Hi,
On Tue, Jun 7, 2011 at 6:56 PM, Julia Lawall <julia@...u.dk> wrote:
>> As an aside, I added a feature to the script for myself so that I can for
>> example write 'make coccicheck M=drivers/net/wireless/' for example to focus
>> in on that directory and just run the checks there... I can submit a patch for
>> this... though I was wondering if there is already a way to do this and I just
>> missed it. The thought was to make it work the same way you'd build a module.
>
> I think it is possible, but Nicolas would know better.
>
I remember me having worked on that but I cannot find any patch
about it so your patch is more that welcome. Some users have requested it
some months ago.
As far as I can remember, with "M=" you can not use $srctree only but still
need it for the -I for instance. I think I then run into a situation where I
have an ambiguity about how to setup the flags for coccinelle, but I am sure
about the reason I dropped my patch. Maybe I don't know well enough the build
system and options...
So, don't hesitate to submit your patch.
Does it also update the Documentation/coccinelle.txt accordingly ?
--
Nicolas Palix
http://sardes.inrialpes.fr/~npalix/
--
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