linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Nick Desaulniers <ndesaulniers@google.com>
To: Johannes Weiner <hannes@cmpxchg.org>
Cc: kbuild@lists.01.org,
	 clang-built-linux <clang-built-linux@googlegroups.com>,
	kbuild-all@lists.01.org,  kbuild test robot <lkp@intel.com>,
	Suren Baghdasaryan <surenb@google.com>,
	 Andrew Morton <akpm@linux-foundation.org>,
	 Linux Memory Management List <linux-mm@kvack.org>,
	Qian Cai <cai@lca.pw>
Subject: Re: [linux-next:master 11878/12136] mm/vmscan.c:2216:39: warning: implicit conversion from enumeration type 'enum lru_list' to different enumeration type 'enum node_stat_item'
Date: Mon, 18 Nov 2019 10:33:20 -0800	[thread overview]
Message-ID: <CAKwvOdnyJXKxeqvt+x+hfxwdGwxpEhcX9+p4h7pF9HVgMw8ruA@mail.gmail.com> (raw)
In-Reply-To: <20191118182806.GB372119@cmpxchg.org>

On Mon, Nov 18, 2019 at 10:28 AM Johannes Weiner <hannes@cmpxchg.org> wrote:
>
> Hello Nick,
>
> On Mon, Nov 18, 2019 at 10:19:52AM -0800, Nick Desaulniers wrote:
> > Hi Johannes,
> > Below is a 0day report from a build with Clang, can you please take a look?
> >
> > On Fri, Nov 15, 2019 at 1:44 PM kbuild test robot <lkp@intel.com> wrote:
> > >
> > > CC: kbuild-all@lists.01.org
> > > TO: Johannes Weiner <hannes@cmpxchg.org>
> > > CC: Suren Baghdasaryan <surenb@google.com>
> > > CC: Andrew Morton <akpm@linux-foundation.org>
> > > CC: Linux Memory Management List <linux-mm@kvack.org>
> > >
> > > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> > > head:   5a6fcbeabe3e20459ed8504690b2515dacc5246f
> > > commit: 07976d367592d6613370c93706795b4ebc0850f1 [11878/12136] mm: vmscan: enforce inactive:active ratio at the reclaim root
> > > config: arm64-defconfig (attached as .config)
> > > compiler: clang version 10.0.0 (git://gitmirror/llvm_project f7e9d81a8e222f3c9d4f57e0817f19bbb795e5b6)
> > > reproduce:
> > >         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> > >         chmod +x ~/bin/make.cross
> > >         git checkout 07976d367592d6613370c93706795b4ebc0850f1
> > >         # save the attached .config to linux build tree
> > >         make.cross ARCH=arm64
> > >
> > > If you fix the issue, kindly add following tag
> > > Reported-by: kbuild test robot <lkp@intel.com>
> > >
> > > All warnings (new ones prefixed by >>):
> > >
> > > >> mm/vmscan.c:2216:39: warning: implicit conversion from enumeration type 'enum lru_list' to different enumeration type 'enum node_stat_item' [-Wenum-conversion]
> > >            inactive = lruvec_page_state(lruvec, inactive_lru);
> > >                       ~~~~~~~~~~~~~~~~~         ^~~~~~~~~~~~
> > >    mm/vmscan.c:2217:37: warning: implicit conversion from enumeration type 'enum lru_list' to different enumeration type 'enum node_stat_item' [-Wenum-conversion]
> > >            active = lruvec_page_state(lruvec, active_lru);
> > >                     ~~~~~~~~~~~~~~~~~         ^~~~~~~~~~
> > >    mm/vmscan.c:2746:42: warning: implicit conversion from enumeration type 'enum lru_list' to different enumeration type 'enum node_stat_item' [-Wenum-conversion]
> > >            file = lruvec_page_state(target_lruvec, LRU_INACTIVE_FILE);
> > >                   ~~~~~~~~~~~~~~~~~                ^~~~~~~~~~~~~~~~~
>
> A fix for this has been sent out and should make its way into into -next soon:
> https://lore.kernel.org/linux-mm/1573848697-29262-1-git-send-email-cai@lca.pw/

Great, thank you, and sorry for the noise.
-- 
Thanks,
~Nick Desaulniers


      reply	other threads:[~2019-11-18 18:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201911160531.VrqGMTij%lkp@intel.com>
2019-11-18 18:19 ` Nick Desaulniers
2019-11-18 18:28   ` Johannes Weiner
2019-11-18 18:33     ` Nick Desaulniers [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=CAKwvOdnyJXKxeqvt+x+hfxwdGwxpEhcX9+p4h7pF9HVgMw8ruA@mail.gmail.com \
    --to=ndesaulniers@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=cai@lca.pw \
    --cc=clang-built-linux@googlegroups.com \
    --cc=hannes@cmpxchg.org \
    --cc=kbuild-all@lists.01.org \
    --cc=kbuild@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=surenb@google.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