Re: [PATCH] coccinelle: if(ret)return ret; return ret; semantic patch

From: Greg Dietsche
Date: Tue Jun 07 2011 - 18:59:47 EST


On 06/07/2011 04:54 PM, Nicolas Palix wrote:
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.
I'll submit what I have done as a new thread / patch series. I've not done much testing with it and am certainly not any kind of build system expert, but it has worked well for me so far :) A few more people trying it out / testing it would be a great idea.
Does it also update the Documentation/coccinelle.txt accordingly ?
It will :)

Greg

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/