Re: AMD CPU/APU temperature driver

From: Olivier Cochard-Labbé <olivier_at_freebsd.org>
Date: Mon, 6 Mar 2017 13:23:40 +0100
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
​
Received on Mon Mar 06 2017 - 11:31:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:10 UTC