From owner-freebsd-current@freebsd.org Mon Mar 6 12:31:43 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4C4D3CFAB17 for ; Mon, 6 Mar 2017 12:31:43 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from smtp.smtpout.orange.fr (smtp06.smtpout.orange.fr [80.12.242.128]) by mx1.freebsd.org (Postfix) with ESMTP id B7EE61396 for ; Mon, 6 Mar 2017 12:31:41 +0000 (UTC) (envelope-from olivier@freebsd.org) Received: from mail-yw0-f177.google.com ([209.85.161.177]) by mwinf5d29 with ME id scQ11u00F3pwwoH03cQ1pD; Mon, 06 Mar 2017 13:24:02 +0100 X-ME-Helo: mail-yw0-f177.google.com X-ME-Auth: Y29jaGFyZC1sYWJiZS5vbGl2aWVyQG9yYW5nZS5mcg== X-ME-Date: Mon, 06 Mar 2017 13:24:02 +0100 X-ME-IP: 209.85.161.177 Received: by mail-yw0-f177.google.com with SMTP id p77so117758613ywg.1; Mon, 06 Mar 2017 04:24:01 -0800 (PST) X-Gm-Message-State: AMke39nZqHFYNMdPIlKVlwpnRvbL7khjc7l0yV3c6u6x6XXqpCkI7SARzEjHGxM8ynbyN00ZyS7GoEDVFDayXQ== X-Received: by 10.129.107.137 with SMTP id g131mr12500770ywc.2.1488803040824; Mon, 06 Mar 2017 04:24:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.178.4 with HTTP; Mon, 6 Mar 2017 04:23:40 -0800 (PST) In-Reply-To: <20170306050431.6fff2cbe@rimwks> References: <20170306050431.6fff2cbe@rimwks> From: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Date: Mon, 6 Mar 2017 13:23:40 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: AMD CPU/APU temperature driver To: Rozhuk Ivan Cc: "freebsd-current@freebsd.org" , freebsd-drivers@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2017 12:31:43 -0000 On Mon, Mar 6, 2017 at 3:04 AM, Rozhuk Ivan 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