Date: Wed, 10 Jun 2020 03:13:37 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 247132] [PATCH] mips: fix kernel build Message-ID: <bug-247132-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247132 Bug ID: 247132 Summary: [PATCH] mips: fix kernel build Product: Base System Version: CURRENT Hardware: mips OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: mans0n@gorani.run Created attachment 215414 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=215414&action=edit patch to fix mips kernel build This patch fixes the following compile errors: /build/freebsd/sys/mips/mediatek/mtk_soc.c:415:3: error: use of undeclared identifier 'cpu_model' cpu_model[idx] = chipid0_3[idx]; ^ /build/freebsd/sys/mips/mediatek/mtk_clock.c:126:39: error: variable 'mask' is uninitialized when used here [-Werror,-Wuninitialized] if (mtk_sysctl_get(SYSCTL_CLKCFG1) & mask) ^~~~ /build/freebsd/sys/dev/rt/if_rt.c:314:54: error: cast from 'char **' to 'const char **' must have all intermediate pointers const qualified to be safe [-Werror,-Wcast-qual] device_get_unit(dev), "macaddr", (const char **)&var)) { -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247132-227>
