mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-04 07:51:19 +00:00
The following warning appears when executing
make -C tools/testing/selftests/kvm
include/x86_64/processor.h:290:2: warning: 'ecx' may be used uninitialized in this
function [-Wmaybe-uninitialized]
asm volatile("cpuid"
^~~
lib/x86_64/processor.c:1523:21: note: 'ecx' was declared here
uint32_t eax, ebx, ecx, edx, max_ext_leaf;
Just initialize ecx to remove this warning.
Fixes:
|
||
|---|---|---|
| .. | ||
| aarch64 | ||
| riscv | ||
| s390x | ||
| x86_64 | ||
| assert.c | ||
| elf.c | ||
| guest_modes.c | ||
| io.c | ||
| kvm_util_internal.h | ||
| kvm_util.c | ||
| perf_test_util.c | ||
| rbtree.c | ||
| sparsebit.c | ||
| test_util.c | ||