mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Zou Wei <zou_wei@huawei.com>
Cc: <christian.brauner@ubuntu.com>, <tglx@linutronix.de>,
	<areber@redhat.com>, <thomascedeno@google.com>,
	<Nicolas.Viennot@twosigma.com>, <walken@google.co>,
	<viresh.kumar@linaro.org>, <liao.pingfang@zte.com.cn>,
	<mchristi@redhat.com>, <viro@zeniv.linux.org.uk>,
	<linux@rasmusvillemoes.dk>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH -next] kernel/sys.c: Remove unused including <linux/version.h>
Date: Mon, 25 Jan 2021 17:26:46 -0800	[thread overview]
Message-ID: <20210125172646.41f1767ceea28fc9a024f0d2@linux-foundation.org> (raw)
In-Reply-To: <1611578869-43453-1-git-send-email-zou_wei@huawei.com>

On Mon, 25 Jan 2021 20:47:49 +0800 Zou Wei <zou_wei@huawei.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;
       ^~~~~~~~~~~~~~~~~~~~~~~~


      reply	other threads:[~2021-01-26  1:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-25 12:47 Zou Wei
2021-01-26  1:26 ` Andrew Morton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210125172646.41f1767ceea28fc9a024f0d2@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=Nicolas.Viennot@twosigma.com \
    --cc=areber@redhat.com \
    --cc=christian.brauner@ubuntu.com \
    --cc=liao.pingfang@zte.com.cn \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@rasmusvillemoes.dk \
    --cc=mchristi@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=thomascedeno@google.com \
    --cc=viresh.kumar@linaro.org \
    --cc=viro@zeniv.linux.org.uk \
    --cc=walken@google.co \
    --cc=zou_wei@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®