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

From: Masahiro Yamada
Date: Mon Nov 06 2017 - 19:22:11 EST


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.

--
Best Regards
Masahiro Yamada