Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp824750rwe; Thu, 25 Aug 2022 09:43:17 -0700 (PDT) X-Google-Smtp-Source: AA6agR7ngGmfTtbU3iz8uIkvDc9HnJ8xp7m2WVzGGOdPG0EWpgG91sGLlt3zCLUYYGfFOPbN0+xv X-Received: by 2002:a17:907:7354:b0:730:f00f:7aaf with SMTP id dq20-20020a170907735400b00730f00f7aafmr3114892ejc.108.1661445797192; Thu, 25 Aug 2022 09:43:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661445797; cv=none; d=google.com; s=arc-20160816; b=iasSu+BgJbDrEh86PQCu1Oc6ffLYxKFte/MqJCZV997UwjLp6n4XjIFqEDz9nGzqLd gKP1Vp8eyIbbm5mnxVLnZvAzIoBCydsTj74kbmrp3PVVo0AUgoyCRULkT+F9iViWx1fF VKb404u3MXaPinen41WZkzOnxWmBD8ABCE7Z3ioaPCwxqAo/Alkl/3i2QnDSQscDXrA0 DlWI+zzxZ59Uc5tVFy4JHlgCfLveGefTIJlgvCpWFYQa+RH+/5rx815QBFNe8SpoLTGu pGoC3z7VSTODYyx7b0eLg5S8mrEnVy30sP+9grB/QNlyb126t3bcJybFt0AkqqtJRFNS T2/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Ms++I9boNJcp08ZZglr6Rl4X3DiiaQr4Ry77/khSHpI=; b=dHPZRsUs0eExIu7uBeQzs4+IFx2e3Bvimkcso6U9DfTyxIutNFC5gSu8YYg8f23IUW Pg7OmwGUgbjjZgsEJ9g8vkR2KXHnteXl8hkY3Q0kYVzTFXRqw9kpiCsh+FQxnDswTPR9 V6Zxqil8CWrcj72BLZlSZjnnB798SqPe1vXDXpV9pnMk6pkuzIIbAmVydDE9JzhBWgVR Ns9M/dWMMMTjYhaWsJMIw2zJVRcD1CcKhKuF6MFyCqhEwMMHEvdRwr7ZzC59v3iNp/NT LqmpFNeDfWEDi/8hT9dVDnMFZ676U5f0T2lBryP2FwMKyZlNOaDVV3eodMwzX994wES5 WHpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aaMwx8JK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cr18-20020a170906d55200b00732fcbcfedesi4232656ejc.623.2022.08.25.09.42.51; Thu, 25 Aug 2022 09:43:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aaMwx8JK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242702AbiHYQKO (ORCPT + 99 others); Thu, 25 Aug 2022 12:10:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242641AbiHYQKM (ORCPT ); Thu, 25 Aug 2022 12:10:12 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E117B115D for ; Thu, 25 Aug 2022 09:10:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7D83A61ADA for ; Thu, 25 Aug 2022 16:10:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AC67DC433C1; Thu, 25 Aug 2022 16:10:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661443809; bh=YeZpqXiWIj2UfGQAr0U2HYO2aQK9k8WY7/sp89p4GTs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aaMwx8JKmkkb6t5r8pvyF2YpWKpX4SjF9KqZKXHKxAL2bkLj59sosnMbT7KLDUXeC MuZWH6jEnAENICgMXZmj9CyIeWZ+czj2hzTq+ho/6licNb3A79kj1ztNs829U+02RU 8EP7yZJje2Ytht8AmmDi0pymRSWyH8oBa0sKGWHEODAaouA1/NuEvpUbZL2Lqg0iDx cgW2AjPInr+1TzJpqxo+ByAWUS0UB7hrTOBH8Eyt3bTQib9A/pAbTq+UycoR7NWyIR FD4f9HKnND++p5ItBYfnfD+z28AEdJcFaONZgYX4lKwG+PkJgLKel3wDhWV0ERgRBK DfrtefSXYKcuQ== Date: Thu, 25 Aug 2022 09:10:07 -0700 From: Nathan Chancellor To: Naresh Kamboju Cc: Mike Kravetz , linux-mm , Andrew Morton , open list , regressions@lists.linux.dev, clang-built-linux , Muchun Song , Andrea Arcangeli , "Aneesh Kumar K.V" , Axel Rasmussen , David Hildenbrand , Davidlohr Bueso , James Houghton , "Kirill A. Shutemov" , Miaohe Lin , Michal Hocko , Mina Almasry , Naoya Horiguchi , Pasha Tatashin , Peter Xu , Prakash Sangappa , llvm@lists.linux.dev Subject: Re: [next] x86: fs/hugetlbfs/inode.c:673:16: error: variable 'm_index' is uninitialized when used here [-Werror,-Wuninitialized] Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Naresh, On Thu, Aug 25, 2022 at 04:13:30PM +0530, Naresh Kamboju wrote: > The x86_64 and i386 clang builds failed due to these warnings / errors > on Linux next-20220825. > > Reported-by: Linux Kernel Functional Testing > > fs/hugetlbfs/inode.c:673:16: error: variable 'm_index' is > uninitialized when used here [-Werror,-Wuninitialized] > m_start, m_index, truncate_op); > ^~~~~~~ > fs/hugetlbfs/inode.c:651:26: note: initialize the variable 'm_index' > to silence this warning > pgoff_t m_start, m_index; > ^ > = 0 > 1 error generated. Thank you for the report! Commit fcc0d3d00d74 ("hugetlb: handle truncate racing with page faults") introduced this warning; the Intel folks caught this as well: https://lore.kernel.org/202208251012.g1mOhhxy-lkp@intel.com/ As an aside, can you please update your contact for our mailing list to llvm@lists.linux.dev? We do not use the Google Groups list anymore. Cheers, Nathan