git: f222a6b88614 - main - dtrace: Fix /"string" == NULL/ comparisons using an uninitialized value.
Jessica Clarke
jrtc27 at freebsd.org
Sat Jan 9 02:33:49 UTC 2021
On 9 Jan 2021, at 02:05, Mateusz Guzik <mjguzik at gmail.com> wrote:
>
> tinderbox fails to build riscv kernels with:
>
> In file included from
> /usr/src/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c:18434:
> /usr/src/sys/cddl/dev/dtrace/riscv/dtrace_isa.c:155:13: error:
> variable 'oldfp' is uninitialized when used here
> [-Werror,-Wuninitialized]
> if (fp == oldfp) {
> ^~~~~
> /usr/src/sys/cddl/dev/dtrace/riscv/dtrace_isa.c:122:17: note:
> initialize the variable 'oldfp' to silence this warning
> uintptr_t oldfp;
> ^
> = 0
> 1 error generated.
>
> which stems from the Makefile change.
https://reviews.freebsd.org/D28054
Jess
More information about the dev-commits-src-main
mailing list