Content-Type: multipart/mixed; boundary="===============2912918869975280625==" MIME-Version: 1.0 From: Johannes Weiner To: kbuild-all@lists.01.org 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 13:28:06 -0500 Message-ID: <20191118182806.GB372119@cmpxchg.org> In-Reply-To: List-Id: --===============2912918869975280625== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 loo= k? > = > On Fri, Nov 15, 2019 at 1:44 PM kbuild test robot wrote: > > > > CC: kbuild-all(a)lists.01.org > > TO: Johannes Weiner > > CC: Suren Baghdasaryan > > CC: Andrew Morton > > CC: Linux Memory Management List > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next= .git master > > head: 5a6fcbeabe3e20459ed8504690b2515dacc5246f > > commit: 07976d367592d6613370c93706795b4ebc0850f1 [11878/12136] mm: vmsc= an: enforce inactive:active ratio at the reclaim root > > config: arm64-defconfig (attached as .config) > > compiler: clang version 10.0.0 (git://gitmirror/llvm_project f7e9d81a8e= 222f3c9d4f57e0817f19bbb795e5b6) > > reproduce: > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/s= bin/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=3Darm64 > > > > If you fix the issue, kindly add following tag > > Reported-by: kbuild test robot > > > > All warnings (new ones prefixed by >>): > > > > >> mm/vmscan.c:2216:39: warning: implicit conversion from enumeration t= ype 'enum lru_list' to different enumeration type 'enum node_stat_item' [-W= enum-conversion] > > inactive =3D lruvec_page_state(lruvec, inactive_lru); > > ~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~ > > mm/vmscan.c:2217:37: warning: implicit conversion from enumeration t= ype 'enum lru_list' to different enumeration type 'enum node_stat_item' [-W= enum-conversion] > > active =3D lruvec_page_state(lruvec, active_lru); > > ~~~~~~~~~~~~~~~~~ ^~~~~~~~~~ > > mm/vmscan.c:2746:42: warning: implicit conversion from enumeration t= ype 'enum lru_list' to different enumeration type 'enum node_stat_item' [-W= enum-conversion] > > file =3D lruvec_page_state(target_lruvec, LRU_INACTIVE_FILE); > > ~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ A fix for this has been sent out and should make its way into into -next so= on: https://lore.kernel.org/linux-mm/1573848697-29262-1-git-send-email-cai(a)lc= a.pw/ --===============2912918869975280625==--