From: Stephen Boyd Date: Tue, 3 Jun 2014 18:25:27 +0000 (+0200) Subject: coccinelle: Check for missing NULL terminators in of_device_id tables X-Git-Tag: omap-for-v3.16/fixes-against-rc1~27^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d5c5dbb48253f1729dc09f266a98bd2d7e694cb;p=pandora-kernel.git 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 Cc: Gilles Muller Cc: Nicolas Palix Cc: Rob Herring Cc: devicetree@vger.kernel.org Signed-off-by: Stephen Boyd Acked-by: Grant Likely Signed-off-by: Julia Lawall Signed-off-by: Michal Marek --- Reading git-diff-tree failed