From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3CC5713B5BB; Wed, 26 Jun 2024 17:00:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719421226; cv=none; b=g7lDFHwOopmpk0acFgeyVfct0VOMBxFvR/JMlRs4J7mG8nAwwYPKjRQqZ6TDd1Me/TzLSH68IpTvhawx6YqzvAL4Xbp66AdoiSvHckQUSvn5mMh8+nAnPILx9UjE1tFt8b5MHgUur30g46FNc1xlNH5cC/gNSrYmTVsncfVs+h8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719421226; c=relaxed/simple; bh=ck9BJVN94A8X/goWOfcFcUMXyljByonN8PhcWCiNwW8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=WgM/8qfvXFTPlNDzY6/OBFKINemueb5siFDu+wnVpslLFwudIpq5lXUGsyA6LPw91nQ8rq2dxVRpyC/lo9SYdxHKCt/QsS+KMEdscHrCIDhy8SEaKBmNDgIb4rEg6T0RKus9Tn/W+hyz37vCTNmHKtYh3BqDw8Pzbc9tlOn4U6w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=E36+TvcN; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="E36+TvcN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 90D09C116B1; Wed, 26 Jun 2024 17:00:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1719421226; bh=ck9BJVN94A8X/goWOfcFcUMXyljByonN8PhcWCiNwW8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=E36+TvcNN3NIJeM5crOgJkH0f6cMwNGvgheTm9IsQYiTTspJzzo9y4W7/iRLX2gkJ LeDP+u3Fger1rdyxgA+iPB15PHH4jI211/GKltEBqDVD84XHc1pb0gViBxAnDpgwd1 iNiigvFZi5Uuw/6wX7dzpY6E8almLmxQFiyoZjJ4WB9FgrO9BgvAYBBHd0qAcasDP8 +s9R0uK7MD+YmvSj5TWO6Jwx+zP6Gso03BB/gVLi7aceTIGZzKSqkIZrEFOtdfznra AycdZtptf5sDCQs/V9EjHq9B5aZkETF0rnHlwAQJ+w/blJJ8OR7yiFfzHO2t4IUyxH 73ZaPNzvCdqag== Date: Wed, 26 Jun 2024 10:00:23 -0700 From: Nathan Chancellor To: Naresh Kamboju Cc: open list , linux-mm , lkft-triage@lists.linaro.org, clang-built-linux , Andrew Morton , Arnd Bergmann , Lance Yang Subject: Re: mm: huge_memory.c:2736:31: error: variable 'page' is uninitialized when used here [-Werror,-Wuninitialized] Message-ID: <20240626170023.GA65296@fedora-macbook-air-m2> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Hi Naresh, On Wed, Jun 26, 2024 at 10:14:56PM +0530, Naresh Kamboju wrote: > The x86_64 clang builds failed on Linux next due to these warnings / errors. > > Reported-by: Linux Kernel Functional Testing > > Build error: > ------ > mm/huge_memory.c:2736:31: error: variable 'page' is uninitialized when > used here [-Werror,-Wuninitialized] > 2736 | folio_remove_rmap_pmd(folio, page, vma); > | ^~~~ > /builds/linux/mm/huge_memory.c:2700:19: note: initialize the variable > 'page' to silence this warning > 2700 | struct page *page; > | ^ > | = NULL > 1 error generated. > > patch that is causing this build failures, > mm/vmscan: avoid split lazyfree THP during shrink_folio_list() Thanks for the report. It looks like Andrew addressed this in mm-unstable based on an earlier report (although that change might need some more polish ;) https://lore.kernel.org/202406260514.SLhNM9kQ-lkp@intel.com/ https://git.kernel.org/akpm/mm/c/199e6c3bd568657e85ead22d6f41c46e74ad9a75 Cheers, Nathan