Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp463028rwe; Thu, 25 Aug 2022 03:45:27 -0700 (PDT) X-Google-Smtp-Source: AA6agR4O36lI/27B9POhjZ8QqCrZ+0nIZfFRhgPvTvhaO+C8KXzUpdUCJv3IUo8KJ05PLc2mzQIw X-Received: by 2002:a17:90b:2492:b0:1fb:6f6c:7744 with SMTP id nt18-20020a17090b249200b001fb6f6c7744mr11734643pjb.73.1661424327133; Thu, 25 Aug 2022 03:45:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661424327; cv=none; d=google.com; s=arc-20160816; b=DaN49ZNKpO/LYVa/KaozgZsqhXlZ29V4hYSE6INsII+ekS90Ow7sEsi81zgDtkd7Qr oYZUG1NrQhH+kEomrmS8JvtVq8Swf3f5YulrBR7EWOt34rs7TqryFOViOyL+hJFHOa0E bFXfwOt3QmW+jM0GI5I1wI6OH8zCA9b447x735p6Z/A2LtJnkb463uoYL7LPsXg9cR3z w6O1QbbceVafcZy9mDCJ9e+7ZZS5ZTfMRU8gB6k2/2cLGgjtRdTD2NyvmNxlp7b3o/fV sZSKNmv2CyD6yaFmez8ETHcmQo6rhlz6CpKjyaEND7PeMzN5J5WgJCk4I3Yd1HM2PLix Euvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=zrIRGklNoO2a5CD9cGT6cGI8Xi9o//UAgqinYGld0u0=; b=aEUC2BoKpkkD8mqTjcUA2wDgVJgqoDdZ1pa55ebvc1/yKgHqLoIJ/Lm96S2TSC/1i1 /Nr6PPnUAu+fmR35/CyWfggHPAN7XUtfXYiQp2Yh2ksOhSAJoJwAR8DKo+kFkyS9Bjs4 6Wx1jviQBnrl+0m3xHttESceGHECU2IThUNtAfBpD4z0EXJtQHtbwAqZmZb86tqWpXfM 60ARFEkGFxMBk+3C/zEIgg4HmuifoEfxNO0Dwxfs5raSXOtlc7Bc89BhkMUVmClOHPo0 N/KsWbeoacSqYvXr8iNtuYVDNQISUptZPda/CSyHQwFKB5geXgCwUHDULqL5nH05c5ms t4dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sQXkC4Y6; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nw13-20020a17090b254d00b001fab0d18bcasi4024875pjb.66.2022.08.25.03.45.14; Thu, 25 Aug 2022 03:45:27 -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=@linaro.org header.s=google header.b=sQXkC4Y6; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240893AbiHYKnp (ORCPT + 99 others); Thu, 25 Aug 2022 06:43:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230395AbiHYKno (ORCPT ); Thu, 25 Aug 2022 06:43:44 -0400 Received: from mail-oi1-x22c.google.com (mail-oi1-x22c.google.com [IPv6:2607:f8b0:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E52EC6052D for ; Thu, 25 Aug 2022 03:43:42 -0700 (PDT) Received: by mail-oi1-x22c.google.com with SMTP id w196so22506644oiw.10 for ; Thu, 25 Aug 2022 03:43:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc; bh=zrIRGklNoO2a5CD9cGT6cGI8Xi9o//UAgqinYGld0u0=; b=sQXkC4Y6tu3f7sZSxSUrG3VeU9KAZZEQED4NsZGoqcDMb0WNORpyF+E/iBBHEmsoQB xaUOwG0teJvwgQGIVxC2MCKY3XCNvreq3rzEIidHmHgN0diW3nPGiG4dsK4qmlvJKorm AwuxpBrrK+ZSi3mkJxnlGYbvFvBbnnZxsHNcYCCYmChDRISJYUaRuI031uZilmkMmHRx SgilGYKlkjKa7jSRsAqnxxTpUrVkDiqJMowEKp2izcKK8j5CEUt4eluqcV2JCKZDonHI WodWylzgHS3vgt51nLZt2C3ztyR861IMjyPwCckx9X8DtX28n6IBqapxfdwLyfqWOaoM D/tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc; bh=zrIRGklNoO2a5CD9cGT6cGI8Xi9o//UAgqinYGld0u0=; b=Oup3AdsJxDoBIKvlb4K8nYSZAPMJp1EWiZteFWjyen9m6tFw3al/xvTy9lhvMRBHqn 9wFT8YSNZDpl62pDEgYS2//vbA9v3JtLTFUqzpcNADnrm7e+PCC58FgYVL5jztJWUJMc wrLG4MRTfcJVxMwD6189GEIzM5g1825e2TyLrttKbI/4uGU9INzOMi/OsjAsGfgDWBVd /O6+o0Arpqxmbhvbo+LsS54YmvnChnhxZQuIb+HctNKVu/ZGDTfk/L8GH0tdlW2R68Sj wBZFfbZQe8HYSGcsg5PBkAcL0q59MtwwWsk19z0b/Pv0regez2DSxzoYGSCKyq7p405H Q1hA== X-Gm-Message-State: ACgBeo2S+XOxTDUEP+qNk0GAd6pDtDYES/4DZqrCfpvt73TfbPD12N1U 29YYA+BpZbI92l+P0kgIXBTn82iA+cXAIVBnuT6U7Q== X-Received: by 2002:a05:6808:1242:b0:345:7e6b:961b with SMTP id o2-20020a056808124200b003457e6b961bmr1435273oiv.290.1661424222144; Thu, 25 Aug 2022 03:43:42 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Thu, 25 Aug 2022 16:13:30 +0530 Message-ID: Subject: [next] x86: fs/hugetlbfs/inode.c:673:16: error: variable 'm_index' is uninitialized when used here [-Werror,-Wuninitialized] To: Mike Kravetz , linux-mm , Andrew Morton , open list , regressions@lists.linux.dev, Nathan Chancellor , clang-built-linux Cc: 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 Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 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. make[3]: *** [scripts/Makefile.build:250: fs/hugetlbfs/inode.o] Error 1 make[3]: Target '__build' not remade because of errors. make[2]: *** [scripts/Makefile.build:525: fs/hugetlbfs] Error 2 Build link: https://builds.tuxbuild.com/2Dpvef6uVvzHMztbfQRmxJfPXZT/ Steps to reproduce: ------------------- # To install tuxmake on your system globally: # sudo pip3 install -U tuxmake tuxmake --runtime podman --target-arch x86_64 --toolchain clang-14 --kconfig https://builds.tuxbuild.com/2Dpvef6uVvzHMztbfQRmxJfPXZT/config LLVM=1 LLVM_IAS=1 -- Linaro LKFT https://lkft.linaro.org