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

Julia Lawall julia.lawall at lip6.fr
Wed Nov 8 14:04:17 CET 2017



On Tue, 7 Nov 2017, Masahiro Yamada wrote:

> 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.

Thanks!

julia


More information about the Cocci mailing list