Messages in this thread | ![/](/images/icornerl.gif) | | Date | Mon, 26 Apr 2010 15:23:34 -0700 | From | Randy Dunlap <> | Subject | Re: [PATCH 1/4] Add targets to use the Coccinelle checker |
| |
Nicolas Palix wrote:
> diff --git a/Makefile b/Makefile > index 67c1001..293c88b 100644 > --- a/Makefile > +++ b/Makefile > @@ -1424,6 +1425,14 @@ versioncheck: > -name '*.[hcS]' -type f -print | sort \ > | xargs $(PERL) -w $(srctree)/scripts/checkversion.pl > > +coccicheck-context coccicheck-patch coccicheck-org coccicheck-report: > + @echo "\nPlease check for false positive in the output before submitting a patch.\n\n"\
positives
> + "Take particularly attention when using the \"patch\" mode\n"\
particular
> + "and carefully review the patch you are about to submit.\n" > + @find $(srctree)/scripts/smpl/ \ > + -name '*.cocci' -type f \ > + -exec $(srctree)/scripts/spatch.sh $(SPATCH) $(@:coccicheck-%=%) \{} $(srctree) \; > + > namespacecheck: > $(PERL) $(srctree)/scripts/namespace.pl >
| ![\](/images/icornerr.gif) |