diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2023-04-06 17:28:42 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2023-04-13 18:36:28 +0300 |
commit | 3071e9b39106e1b9576584a372f446c23b258e3f (patch) | |
tree | e816edc8744d08a311a7a6b030d336b6b3387b1b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 81e8479649853ffafc714aca4a9c0262efd3160a (diff) | |
download | linux-3071e9b39106e1b9576584a372f446c23b258e3f.tar.xz |
s390/diag: replace zero-length array with flexible-array member
Zero-length arrays are deprecated [1] and have to be replaced by C99
flexible-array members.
This helps with the ongoing efforts to tighten the FORTIFY_SOURCE routines
on memcpy() and help to make progress towards globally enabling
-fstrict-flex-arrays=3 [2]
Link: https://github.com/KSPP/linux/issues/78 [1]
Link: https://gcc.gnu.org/pipermail/gcc-patches/2022-October/602902.html [2]
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/ZC7XGpUtVhqlRLhH@work
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions