| Summary: | Fix build error: use of undeclared identifier 'cpu_model' | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | mans0n | ||||
| Component: | misc | Assignee: | Bugmeister <bugmeister> | ||||
| Status: | Closed Overcome By Events | ||||||
| Severity: | Affects Some People | CC: | mips, sgalabov | ||||
| Priority: | --- | Keywords: | easy, needs-qa | ||||
| Version: | CURRENT | Flags: | koobs:
mfc-stable12?
koobs: mfc-stable11? |
||||
| Hardware: | mips | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
^Triage: close as Overcome By Events. I'm sorry this PR never got looked at. In the meantime, FreeBSD has dropped MIPS support, so there is nothing to do here. |
Created attachment 215414 [details] 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)) {