[master] 06e7329d6 Help Coccinelle a tiny bit more
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Fri May 3 17:25:08 UTC 2019
commit 06e7329d6525c3f3721e201a47ed3919d8d725ce
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Fri May 3 19:16:59 2019 +0200
Help Coccinelle a tiny bit more
It currently freaks out when it's not aware of a type, or when it
encounters v_*_ macros in a function signature. This doesn't improve the
results of the existing patches but we should take a habit of specifying
where additional C includes are.
diff --git a/tools/coccinelle/README.rst b/tools/coccinelle/README.rst
index ff01e80bf..bf01fc8e3 100644
--- a/tools/coccinelle/README.rst
+++ b/tools/coccinelle/README.rst
@@ -6,6 +6,6 @@ for both the in-tree code style or out-of-tree VMOD and VUT development.
Unless noted otherwise, all patches should work when invoked as::
- spatch --dir . --in-place --sp-file $COCCI
+ spatch -I include/ -I bin/varnishd/ --dir . --in-place --sp-file $COCCI
.. _coccinelle: http://coccinelle.lip6.fr/
More information about the varnish-commit
mailing list