lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 4 May 2022 13:59:41 -0700
From:   Luis Chamberlain <mcgrof@...nel.org>
To:     YueHaibing <yuehaibing@...wei.com>
Cc:     mingo@...hat.com, peterz@...radead.org, juri.lelli@...hat.com,
        vincent.guittot@...aro.org, dietmar.eggemann@....com,
        rostedt@...dmis.org, bsegall@...gle.com, mgorman@...e.de,
        bristot@...hat.com, nizhen@...ontech.com,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH sysctl-next] sched: Fix build warning without
 CONFIG_SYSCTL

On Wed, Apr 27, 2022 at 09:10:02PM +0800, YueHaibing wrote:
> IF CONFIG_SYSCTL is n, build warn:
> 
> kernel/sched/core.c:1782:12: warning: ‘sysctl_sched_uclamp_handler’ defined but not used [-Wunused-function]
>  static int sysctl_sched_uclamp_handler(struct ctl_table *table, int write,
>             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> sysctl_sched_uclamp_handler() is used while CONFIG_SYSCTL enabled,
> wrap all related code with CONFIG_SYSCTL to fix this.
> 
> Fixes: 3267e0156c33 ("sched: Move uclamp_util sysctls to core.c")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>

Thanks! Merged and pushed onto sysctl-testing. If there are no issues
I'll move  it to sysctl-next.  

  Luis

Powered by blists - more mailing lists