diff options
author | 2021-03-08 22:12:15 +0300 | |
---|---|---|
committer | 2021-05-01 21:23:56 +0200 | |
commit | 3afb532b19df3238dede98b184bc8852517f206a (patch) | |
tree | 9fcbef271e3f103383f0a13e4d2419369fae46dd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | coccinelle: misc: add minmax script (diff) | |
download | linux-dev-3afb532b19df3238dede98b184bc8852517f206a.tar.xz linux-dev-3afb532b19df3238dede98b184bc8852517f206a.zip |
coccinelle: misc: restrict patch mode in flexible_array.cocci
Skip patches generation for structs with a single field.
Changing a zero-length array to a flexible array member in a struct
with no named members breaks the compilation. However, reporting
such cases is still valuable, e.g. commit 637464c59e0b
("ACPI: NFIT: Fix flexible_array.cocci warnings").
Signed-off-by: Denis Efremov <efremov@linux.com>
Signed-off-by: Julia Lawall <julia.lawall@inria.fr>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions