coccinelle: Improve checking for missing NULL terminators
authorDaniel Granat <d.granat@samsung.com>
Fri, 23 Oct 2015 15:31:06 +0000 (17:31 +0200)
committerMichal Marek <mmarek@suse.com>
Mon, 26 Oct 2015 21:44:51 +0000 (22:44 +0100)
commit67afc2110a84872aa6aae44ce6b2ea6534db1438
treecbc47493c14830f1b243c8dea7ffc0e9390fdac1
parent4743775c6de44b3c36e15bcab2dee928b6361a16
coccinelle: Improve checking for missing NULL terminators

Extend checking on tables containing structures which are initialized
without specifying member name. Added new tables for checking:
i2c_device_id and platform_device_id.

Signed-off-by: Daniel Granat <d.granat@samsung.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/coccinelle/misc/of_table.cocci