[Bug 247132] [PATCH] mips: fix kernel build
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jun 10 03:13:38 UTC 2020
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 at FreeBSD.org
Reporter: mans0n at 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.
More information about the freebsd-bugs
mailing list