Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scripts/coccinelle: require coccinelle >= 1.0.4 on device_node_continue.cocci

Make use of the new Requires: tag to be able to specify coccinelle binary
version requirements. The cocci file device_node_continue.cocci requires at
least coccinelle 1.0.4.

Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Acked-by: Nicolas Palix <nicolas.palix@imag.fr>
Signed-off-by: Michal Marek <mmarek@suse.com>

authored by

Luis R. Rodriguez and committed by
Michal Marek
cc65e823 c100d537

+3
+3
scripts/coccinelle/iterators/device_node_continue.cocci
··· 5 5 // Copyright: (C) 2015 Julia Lawall, Inria. GPLv2. 6 6 // URL: http://coccinelle.lip6.fr/ 7 7 // Options: --no-includes --include-headers 8 + // Requires: 1.0.4 8 9 // Keywords: for_each_child_of_node, etc. 10 + 11 + // This uses a conjunction, which requires at least coccinelle >= 1.0.4 9 12 10 13 virtual patch 11 14 virtual context