summaryrefslogtreecommitdiffstats
path: root/scripts/coccicheck
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2017-10-08 21:18:41 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-11-14 23:19:03 +0900
commita44b86645a4a173a45e57d127ac037e88750ea6a (patch)
tree1e8cf58defd03f11393ab8f28b58ac6db55ebbef /scripts/coccicheck
parent1b18d05c7c204a59e0ac66cbfa813a7173c4426e (diff)
downloadlinux-a44b86645a4a173a45e57d127ac037e88750ea6a.tar.bz2
coccinelle: api: detect identical chip data arrays
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@lip6.fr> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/coccicheck')
0 files changed, 0 insertions, 0 deletions