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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Mon, 25 Jan 2021 17:26:46 -0800
From:   Andrew Morton <akpm@...ux-foundation.org>
To:     Zou Wei <zou_wei@...wei.com>
Cc:     <christian.brauner@...ntu.com>, <tglx@...utronix.de>,
        <areber@...hat.com>, <thomascedeno@...gle.com>,
        <Nicolas.Viennot@...sigma.com>, <walken@...gle.co>,
        <viresh.kumar@...aro.org>, <liao.pingfang@....com.cn>,
        <mchristi@...hat.com>, <viro@...iv.linux.org.uk>,
        <linux@...musvillemoes.dk>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] kernel/sys.c: Remove unused including
 <linux/version.h>

On Mon, 25 Jan 2021 20:47:49 +0800 Zou Wei <zou_wei@...wei.com> wrote:

> Fix the following versioncheck warning:
> 
> kernel/sys.c:42:1: unused including <linux/version.h>
> 
> ...
>
> --- a/kernel/sys.c
> +++ b/kernel/sys.c
> @@ -39,7 +39,6 @@
>  #include <linux/mount.h>
>  #include <linux/gfp.h>
>  #include <linux/syscore_ops.h>
> -#include <linux/version.h>
>  #include <linux/ctype.h>
>  #include <linux/syscall_user_dispatch.h>
>  

x86 allnoconfig:

kernel/sys.c: In function override_release:
kernel/sys.c:1244:7: error: LINUX_VERSION_PATCHLEVEL undeclared (first use in this function)
   v = LINUX_VERSION_PATCHLEVEL + 60;
       ^~~~~~~~~~~~~~~~~~~~~~~~

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ