[Cocci] [PATCH 2/2] scripts: coccinelle: api: detect identical chip data arrays

Masahiro Yamada yamada.masahiro at socionext.com
Tue Nov 7 01:21:11 CET 2017

2017-10-09 4:18 GMT+09:00 Julia Lawall <Julia.Lawall at lip6.fr>:
> This semantic patch detects duplicate arrays declared using BQ27XXX_DATA
> within a single structure.  It is currently specific to the file
> drivers/power/supply/bq27xxx_battery.c.  Nevertheless, having the script in
> the kernel will allow others to check their code if the data structures
> change in the future.
> Signed-off-by: Julia Lawall <Julia.Lawall at lip6.fr>

Applied to linux-kbuild/misc.

Best Regards
Masahiro Yamada

More information about the Cocci mailing list