From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B183C432C0 for ; Mon, 18 Nov 2019 18:28:11 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 02BB5222BF for ; Mon, 18 Nov 2019 18:28:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=cmpxchg-org.20150623.gappssmtp.com header.i=@cmpxchg-org.20150623.gappssmtp.com header.b="ig9Ko1Es" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 02BB5222BF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cmpxchg.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 8501C6B0007; Mon, 18 Nov 2019 13:28:10 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 800B36B0008; Mon, 18 Nov 2019 13:28:10 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 716176B000A; Mon, 18 Nov 2019 13:28:10 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0231.hostedemail.com [216.40.44.231]) by kanga.kvack.org (Postfix) with ESMTP id 5C8976B0007 for ; Mon, 18 Nov 2019 13:28:10 -0500 (EST) Received: from smtpin15.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with SMTP id 07C3652D4 for ; Mon, 18 Nov 2019 18:28:10 +0000 (UTC) X-FDA: 76170232740.15.angle27_64520a8728828 X-HE-Tag: angle27_64520a8728828 X-Filterd-Recvd-Size: 5885 Received: from mail-qv1-f67.google.com (mail-qv1-f67.google.com [209.85.219.67]) by imf11.hostedemail.com (Postfix) with ESMTP for ; Mon, 18 Nov 2019 18:28:09 +0000 (UTC) Received: by mail-qv1-f67.google.com with SMTP id v16so6967852qvq.6 for ; Mon, 18 Nov 2019 10:28:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=P530iGaGJTGabTkd7U5Ayp5UIuGpPeh+6ztPJr+I6u0=; b=ig9Ko1EspYHL4fbW/GS8wAerD0biC9gUyVtatZ6cD2KBVcNczIawn62lT+ryUEJf0W 8AklB52v4Lbq08yXTlTcIgqjagMMxDt+43ytNy1ybS5gNNqn0xp9jAxEIAG3q/oyiKTi Z5vOXzi+UQJYI5vmiwHEISC89niXnORSiyrbL0afcejAeAQmZHiEL2qmszNfQwhddFqd C46DiEG2+84RbMZBAJckjjTv1l1dXveggKEuYld1+w0t+MmXdDNLWgj8DmPR88w16UFy J422GdXYa7ANrQPb3SFdkmd+N8FYvuPEiAyBuXLM/x6cBeD5TkIz++NV0937dP4H4ziq sq3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=P530iGaGJTGabTkd7U5Ayp5UIuGpPeh+6ztPJr+I6u0=; b=prBX/zaWNZ6aO3vi8eg73c7iU6DKRN+fe38piX0LTXo4hJyP7vgGD3Kab138QciF0o 0WZ0iIiGwFrjC5Ol5EMjf1E8j9C/huyksxeg7kvW9SCIZHbIPCPnVcH+0MsUhxSD5Rq2 nDk2XYhpP2XH8i97lLmdRE3fIOQMg1z9/DVhp47LpMDL+sT4lw2RFqzQCbb7dX6NzyVI 8fy23U583hrQwPO0KksfTuhzYtdZP9F9DVHDi9NHK3gOcsokgVIRJjva93YaKNyJI33g fP6Kz5vmGQwQwTlb2RWucLG+vznuYvbO8YBeeJBRKnpE+kwA+QxCwURe8VfGjtiRfxYN aPMA== X-Gm-Message-State: APjAAAWkT5XJCxnY1oJqhpOMM1+G8I8JFwgbWVqgv9w6ZTOwDRgTXQ4Z mORJQw6Dj6OwJUUQ4F2xuo/pVg== X-Google-Smtp-Source: APXvYqwHxdeR5S0ahIQ2ecnziKvkk1/tZk9F2TvBx5qPWlcdUSyLodiQ72g59K0+VGLlKW6reYiq+Q== X-Received: by 2002:ad4:4042:: with SMTP id r2mr17015301qvp.196.1574101688524; Mon, 18 Nov 2019 10:28:08 -0800 (PST) Received: from localhost ([2620:10d:c091:500::1:1113]) by smtp.gmail.com with ESMTPSA id x65sm8871285qkd.15.2019.11.18.10.28.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Nov 2019 10:28:07 -0800 (PST) Date: Mon, 18 Nov 2019 13:28:06 -0500 From: Johannes Weiner To: Nick Desaulniers Cc: kbuild@lists.01.org, clang-built-linux , kbuild-all@lists.01.org, kbuild test robot , Suren Baghdasaryan , Andrew Morton , Linux Memory Management List 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' Message-ID: <20191118182806.GB372119@cmpxchg.org> References: <201911160531.VrqGMTij%lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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 wrote: > > > > CC: kbuild-all@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: 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 > > > > 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/