diff options
| author | Gustavo A. R. Silva <[email protected]> | 2021-09-29 14:41:18 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-10-05 12:28:06 +0200 |
| commit | 0d197f2088e6c116d33ab9af66daac8be45f1a4b (patch) | |
| tree | 567fa663c5a4310cadbde8ce10d22c17645705f9 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 42bdb41d2ef84311b6699432273be6565001128b (diff) | |
staging: rtl8723bs: Replace zero-length array with flexible-array member
One-element and zero-length arrays are deprecated and should be
replaced with flexible-array members[1].
Replace zero-length array with flexible-array member and make use
of the struct_size() helper.
[1] https://www.kernel.org/doc/html/v5.10/process/deprecated.html#zero-length-and-one-element-arrays
Link: https://github.com/KSPP/linux/issues/78
Link: https://github.com/KSPP/linux/issues/160
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Link: https://lore.kernel.org/r/20210929194118.GA340431@embeddedor
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions