Re: linux-next: Tree for Jun 11 (kernel/sysctl.c)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux