diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2017-10-08 21:18:41 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-11-14 23:19:03 +0900 |
commit | a44b86645a4a173a45e57d127ac037e88750ea6a (patch) | |
tree | 1e8cf58defd03f11393ab8f28b58ac6db55ebbef /net/ipv4/xfrm4_policy.c | |
parent | 1b18d05c7c204a59e0ac66cbfa813a7173c4426e (diff) | |
download | blackbird-op-linux-a44b86645a4a173a45e57d127ac037e88750ea6a.tar.gz blackbird-op-linux-a44b86645a4a173a45e57d127ac037e88750ea6a.zip |
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 'net/ipv4/xfrm4_policy.c')
0 files changed, 0 insertions, 0 deletions