summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavoars@kernel.org>2023-01-10 04:40:38 +0300
committerThomas Gleixner <tglx@linutronix.de>2023-01-19 23:59:35 +0300
commitaa81cb9d9723694bb18359adbef7964030758dba (patch)
tree61221f67b68a899496a7f0db9e135cbe6542981d /tools/perf/scripts/python/export-to-sqlite.py
parent5dc4c995db9eb45f6373a956eb1f69460e69e6d4 (diff)
downloadlinux-aa81cb9d9723694bb18359adbef7964030758dba.tar.xz
x86/fpu: Replace zero-length array in struct xregs_state 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] Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Kees Cook <keescook@chromium.org> Link: https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays [1] Link: https://gcc.gnu.org/pipermail/gcc-patches/2022-October/602902.html [2] Link: https://github.com/KSPP/linux/issues/78 Link: https://lore.kernel.org/r/Y7zCFpa2XNs/o9YQ@work
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions