Re: netbsd-11 kernel build failure

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.current
Message-ID <[email protected]>
On Thu, Jan 08, 2026 at 11:16:51AM -0000, Michael van Elst wrote:
> [email protected] (Hauke Fath) writes:
> 
> >/u/sources/netbsd-11/src/sys/dev/acpi/pckbc_acpi.c:242:22: error:=20
> >'handle' may be used uninitialized [-Werror=3Dmaybe-uninitialized]
> 
> 
> >I guess 'handle' should be initialized (with what?).
> 
> 
> It gets initialized, the compiler is just not smart enough to see it.
> Initializing it to ((ACPI_HANDLE)0) to set an invalid value is ok.

Why doesn't this happen on the official builds?


Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.