kernel-ark/scripts/coccinelle
Stephen Boyd 2d5c5dbb48 coccinelle: Check for missing NULL terminators in of_device_id tables
Failure to terminate an of_device_id table can lead to confusing
failures depending on where the compiler places the array. Add a
check to make sure these tables are terminated. Thanks to Mitchel
Humpherys for coming up with the pattern initially.

Cc: Mitchel Humpherys <mitchelh@codeaurora.org>
Cc: Gilles Muller <Gilles.Muller@lip6.fr>
Cc: Nicolas Palix <nicolas.palix@imag.fr>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Grant Likely <grant.likely@linaro.org>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2014-06-09 23:39:16 +02:00
..
api scripts/coccinelle: Use PTR_ERR_OR_ZERO 2014-04-08 17:27:01 +02:00
free Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
iterators Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
locks Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
misc coccinelle: Check for missing NULL terminators in of_device_id tables 2014-06-09 23:39:16 +02:00
null Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00
tests Coccinelle: Update the options used to the new option scheme 2013-07-03 22:58:13 +02:00