AMD CPU/APU temperature driver

Olivier Cochard-Labbé olivier at freebsd.org
Mon Mar 6 12:31:43 UTC 2017


On Mon, Mar 6, 2017 at 3:04 AM, Rozhuk Ivan <rozhuk.im at gmail.com> wrote:

> Hi!
>
>
> New amdtemp driver needs more testers!
>
>
> https://reviews.freebsd.org/D9759
>
>
​
This patch apply correctly (on 12-head r314770), but a "make buildkernel"
failed with

​--- all_subdir_amdtemp ---
/usr/src/sys/modules/amdtemp/../../dev/amdtemp/amdtemp.c:1083:54: error:
too few arguments to function call, expected 11, have 10
                    regs[i].oid_handler, regs[i].fmt, regs[i].descr);
                                                                   ^
/usr/src/sys/sys/sysctl.h:1017:1: note: 'sysctl_add_oid' declared here
struct sysctl_oid *sysctl_add_oid(struct sysctl_ctx_list *clist,
^
/usr/src/sys/modules/amdtemp/../../dev/amdtemp/amdtemp.c:1099:54: error:
too few arguments to function call, expected 11, have 10
                    regs[i].oid_handler, regs[i].fmt, regs[i].descr);
                                                                   ^
/usr/src/sys/sys/sysctl.h:1017:1: note: 'sysctl_add_oid' declared here
struct sysctl_oid *sysctl_add_oid(struct sysctl_ctx_list *clist,
^
2 errors generated.
*** [amdtemp.o] Error code 1
​


More information about the freebsd-current mailing list