[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a35f64a7-4593-da2f-4d6d-81e870a8f3b5@infradead.org>
Date: Tue, 11 Jun 2019 10:53:12 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Stephen Rothwell <sfr@...b.auug.org.au>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Waiman Long <longman@...hat.com>,
"Luis R. Rodriguez" <mcgrof@...nel.org>,
Kees Cook <keescook@...omium.org>
Subject: Re: linux-next: Tree for Jun 11 (kernel/sysctl.c)
On 6/11/19 2:24 AM, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20190607:
>
on i386:
when CONFIG_SYSCTL is not set/enabled:
../kernel/sysctl.c: In function '_proc_do_string':
../kernel/sysctl.c:2003:7: error: 'sysctl_writes_strict' undeclared (first use in this function); did you mean 'sysctl_schedstats'?
if (sysctl_writes_strict == SYSCTL_WRITES_STRICT) {
^~~~~~~~~~~~~~~~~~~~
sysctl_schedstats
../kernel/sysctl.c:2003:7: note: each undeclared identifier is reported only once for each function it appears in
../kernel/sysctl.c:2003:31: error: 'SYSCTL_WRITES_STRICT' undeclared (first use in this function); did you mean 'SPECTRE_V2_USER_STRICT'?
if (sysctl_writes_strict == SYSCTL_WRITES_STRICT) {
^~~~~~~~~~~~~~~~~~~~
SPECTRE_V2_USER_STRICT
CC mm/mmu_gather.o
../kernel/sysctl.c: In function 'proc_first_pos_non_zero_ignore':
../kernel/sysctl.c:2079:10: error: 'sysctl_writes_strict' undeclared (first use in this function); did you mean 'sysctl_schedstats'?
switch (sysctl_writes_strict) {
^~~~~~~~~~~~~~~~~~~~
sysctl_schedstats
../kernel/sysctl.c:2080:7: error: 'SYSCTL_WRITES_STRICT' undeclared (first use in this function); did you mean 'SPECTRE_V2_USER_STRICT'?
case SYSCTL_WRITES_STRICT:
^~~~~~~~~~~~~~~~~~~~
SPECTRE_V2_USER_STRICT
../kernel/sysctl.c:2082:7: error: 'SYSCTL_WRITES_WARN' undeclared (first use in this function); did you mean 'SYSCTL_WRITES_STRICT'?
case SYSCTL_WRITES_WARN:
^~~~~~~~~~~~~~~~~~
SYSCTL_WRITES_STRICT
AR arch/x86/hyperv/built-in.a
CC kernel/capability.o
../kernel/sysctl.c:2088:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
At top level:
../kernel/sysctl.c:3116:12: warning: 'proc_do_cad_pid' defined but not used [-Wunused-function]
static int proc_do_cad_pid(struct ctl_table *table, int write,
^~~~~~~~~~~~~~~
../kernel/sysctl.c:2816:12: warning: 'proc_dointvec_minmax_coredump' defined but not used [-Wunused-function]
static int proc_dointvec_minmax_coredump(struct ctl_table *table, int write,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../kernel/sysctl.c:2795:12: warning: 'proc_dopipe_max_size' defined but not used [-Wunused-function]
static int proc_dopipe_max_size(struct ctl_table *table, int write,
^~~~~~~~~~~~~~~~~~~~
../kernel/sysctl.c:2629:12: warning: 'proc_dointvec_minmax_sysadmin' defined but not used [-Wunused-function]
static int proc_dointvec_minmax_sysadmin(struct ctl_table *table, int write,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../kernel/sysctl.c:2597:12: warning: 'proc_taint' defined but not used [-Wunused-function]
static int proc_taint(struct ctl_table *table, int write,
^~~~~~~~~~
--
~Randy
Powered by blists - more mailing lists