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

From: Julia Lawall
Date: Wed Nov 08 2017 - 08:05:28 EST




On Tue, 7 Nov 2017, Masahiro Yamada wrote:

> 2017-10-09 4:18 GMT+09:00 Julia Lawall <Julia.Lawall@xxxxxxx>:
> > 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@xxxxxxx>
> >
>
> Applied to linux-kbuild/misc.

Thanks!

julia