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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"