diff options
author | Changcheng Deng <deng.changcheng@zte.com.cn> | 2022-01-21 04:35:08 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2022-03-04 18:10:49 +0300 |
commit | 3a0318140a6f8c3ab60f1f46c3f203923cb01882 (patch) | |
tree | beb5cbf5a16cbc31d6d7925a947c298f2264c06a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1039135aedfc5021b4827eb87276d7b4272024ac (diff) | |
download | linux-3a0318140a6f8c3ab60f1f46c3f203923cb01882.tar.xz |
Bluetooth: mgmt: Replace zero-length array with flexible-array member
There is a regular need in the kernel to provide a way to declare having
a dynamically sized set of trailing elements in a structure. Kernel code
should always use "flexible array members" for these cases. The older
style of one-element or zero-length arrays should no longer be used.
Reference:
https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Changcheng Deng <deng.changcheng@zte.com.cn>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions