aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorJohn Hubbard <[email protected]>2019-07-31 05:46:27 +0000
committerThomas Gleixner <[email protected]>2019-08-16 12:20:00 +0000
commita90118c445cc7f07781de26a9684d4ec58bfcfd1 (patch)
tree7e3ef3805ffe0a7c4ee8b038002e0c4b063dec1f /tools/perf/scripts/python/syscall-counts.py
parentMAINTAINERS, x86/CPU: Tony Luck will maintain asm/intel-family.h (diff)
downloadkernel-a90118c445cc7f07781de26a9684d4ec58bfcfd1.tar.gz
kernel-a90118c445cc7f07781de26a9684d4ec58bfcfd1.zip
x86/boot: Save fields explicitly, zero out everything else
Recent gcc compilers (gcc 9.1) generate warnings about an out of bounds memset, if the memset goes accross several fields of a struct. This generated a couple of warnings on x86_64 builds in sanitize_boot_params(). Fix this by explicitly saving the fields in struct boot_params that are intended to be preserved, and zeroing all the rest. [ tglx: Tagged for stable as it breaks the warning free build there as well ] Suggested-by: Thomas Gleixner <[email protected]> Suggested-by: H. Peter Anvin <[email protected]> Signed-off-by: John Hubbard <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions