diff options
author | Arnd Bergmann <[email protected]> | 2021-03-22 17:45:36 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2021-03-22 21:37:03 +0100 |
commit | 396a66aa1172ef2b78c21651f59b40b87b2e5e1e (patch) | |
tree | cee3bace9d4d3eeb1f6ebd444498ed2f54ff911c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 163b099146b85d1b05bd2eaa045acbeee25c29e4 (diff) |
x86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes
gcc-11 warns about mismatched prototypes here:
arch/x86/lib/msr-smp.c:255:51: error: argument 2 of type ‘u32 *’ {aka ‘unsigned int *’} declared as a pointer [-Werror=array-parameter=]
255 | int rdmsr_safe_regs_on_cpu(unsigned int cpu, u32 *regs)
| ~~~~~^~~~
arch/x86/include/asm/msr.h:347:50: note: previously declared as an array ‘u32[8]’ {aka ‘unsigned int[8]’}
GCC is right here - fix up the types.
[ mingo: Twiddled the changelog. ]
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions