mirror of
https://github.com/torvalds/linux.git
synced 2026-11-12 20:54:48 +01:00
Clang's uninitialized-const-pointer warning causes a feature test to
fail when building perf with clang. This disables support for 'perf
kvm stat live'. Add default initialization to new_value as a
workaround.
test-timerfd.c:15:30: error: variable 'new_value' is uninitialized when passed
as a const pointer argument here
[-Werror,-Wuninitialized-const-pointer]
15 | if (timerfd_settime(fd, 0, &new_value, NULL) != 0)
| ^~~~~~~~~
1 error generated.
Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20260910213907.3206529-1-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| test-all.c | ||
| test-babeltrace2-ctf-writer.c | ||
| test-backtrace.c | ||
| test-bionic.c | ||
| test-bpf.c | ||
| test-clang-bpf-co-re.c | ||
| test-compile.c | ||
| test-cplus-demangle.c | ||
| test-cxa-demangle.cpp | ||
| test-disassembler-four-args.c | ||
| test-disassembler-init-styled.c | ||
| test-eventfd.c | ||
| test-file-handle.c | ||
| test-fortify-source.c | ||
| test-gettid.c | ||
| test-glibc.c | ||
| test-gtk4.c | ||
| test-hello.c | ||
| test-jvmti-cmlr.c | ||
| test-jvmti.c | ||
| test-libaio.c | ||
| test-libbfd-threadsafe.c | ||
| test-libbfd.c | ||
| test-libbpf.c | ||
| test-libcap.c | ||
| test-libcapstone.c | ||
| test-libcheck.c | ||
| test-libcpupower.c | ||
| test-libdebuginfod.c | ||
| test-libdw.c | ||
| test-libelf-gelf_getnote.c | ||
| test-libelf-getphdrnum.c | ||
| test-libelf-getshdrstrndx.c | ||
| test-libelf-zstd.c | ||
| test-libelf.c | ||
| test-libnuma.c | ||
| test-libopencsd.c | ||
| test-libopenssl.c | ||
| test-libperl.c | ||
| test-libpfm4.c | ||
| test-libpython.c | ||
| test-libslang.c | ||
| test-libtraceevent.c | ||
| test-libtracefs.c | ||
| test-libunwind-debug-frame.c | ||
| test-libunwind.c | ||
| test-libzstd.c | ||
| test-llvm-perf.cpp | ||
| test-llvm.cpp | ||
| test-lzma.c | ||
| test-numa_num_possible_cpus.c | ||
| test-pthread-attr-setaffinity-np.c | ||
| test-pthread-barrier.c | ||
| test-reallocarray.c | ||
| test-scandirat.c | ||
| test-sched_getcpu.c | ||
| test-sdt.c | ||
| test-setns.c | ||
| test-stackprotector-all.c | ||
| test-timerfd.c | ||
| test-zlib.c | ||