Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2017 13:23:40 +0100
From:      =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= <olivier@freebsd.org>
To:        Rozhuk Ivan <rozhuk.im@gmail.com>
Cc:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, freebsd-drivers@freebsd.org
Subject:   Re: AMD CPU/APU temperature driver
Message-ID:  <CA%2Bq%2BTco6DFvQ2gpP1%2BC-_tn9EfdJfDTxsdn7ygJ87b67dWVO7Q@mail.gmail.com>
In-Reply-To: <20170306050431.6fff2cbe@rimwks>
References:  <20170306050431.6fff2cbe@rimwks>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 6, 2017 at 3:04 AM, Rozhuk Ivan <rozhuk.im@gmail.com> wrote:

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

=E2=80=8B--- 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
=E2=80=8B



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bq%2BTco6DFvQ2gpP1%2BC-_tn9EfdJfDTxsdn7ygJ87b67dWVO7Q>