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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4474CC433FE for ; Wed, 5 Oct 2022 11:19:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229615AbiJELTu (ORCPT ); Wed, 5 Oct 2022 07:19:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229830AbiJELTr (ORCPT ); Wed, 5 Oct 2022 07:19:47 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CDC1764D; Wed, 5 Oct 2022 04:19:45 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id f11so22820383wrm.6; Wed, 05 Oct 2022 04:19:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=ZOH0N862OH/9tiivSt3Zwjt1qR1oUocM3XEbjZOA5Xs=; b=p7hISEZxTLVrPFiIi0B0dRX9xAJv7UNvnE9chppraPoeFcDGnYgmBx7MsPASMikx7G wbA5/N24Zr1SDnUFS219VtWjVVzWI8ci9lLmJCa1uE+xWm7Ij8o23Uk+sVKMH0HOwhyq 46wws/br7R6VdhUZST8gkDX94W8FD8Qaa0rk6paqpjPxiZB07oLDxHSMPMLAbs2cSUFX xnwBOniashRY//mCbHOF1K4jdWMy5nBtpIP34SevKDdZs6cw9HgxroWtTSZh7SIDZt3M GPgGr/fzo/bAdEeaVUXgAiCHCF7D2+4EP5K63Y/RDoC8YBfh3b5XZ5Nu2iDNFgICw3sr ny2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZOH0N862OH/9tiivSt3Zwjt1qR1oUocM3XEbjZOA5Xs=; b=LzFiEr383GVzZpk25tYAQNEA3L3KPAM/dMJxHOByD9MDzNgC3ElG4D+agp7knKVYwT GcEkv9E20BUcZz0rqWBHK6jGd5z5dEfjcuGcIKR4Rk4ZtTC8NmVER9pz4rM5xKCKB6Qn zsvqFUjkqtTcs5z40I+dShjWWLJdD7/cVBqR2iRXnEADxVbNvguiQ6LqNWNv6FIVFnfu V37lKGkH6QKGFOkuRn8/+LDjMEn0+d8Miwkfpx9eVWkAYpVJ+Wc62gt8U3A/ADnqRcx2 LjqXCdHM3JDn4oTcv77wJyswkmgE33LW77kbNQ6fuQnbV4uNnT+ubXUpHE6Uhkf3AsM3 nGLw== X-Gm-Message-State: ACrzQf3bukAgLOXWi1j8pwkrzaCUUXwgL0kJB0MGMCUZg7ih9+zG5Zyz 46guc9mAGrBgxGaLKvMAeOSX6rYcw60= X-Google-Smtp-Source: AMsMyM7MATMXyZeCGO0qZBzgn4wRxM30AAQNmiEGIHECsD8SmyDHKW1kRFhFnMcsDjUGC6TUcmdX6w== X-Received: by 2002:adf:fdcf:0:b0:22e:3ef3:1d28 with SMTP id i15-20020adffdcf000000b0022e3ef31d28mr8765657wrs.331.1664968784078; Wed, 05 Oct 2022 04:19:44 -0700 (PDT) Received: from debian (host-78-150-37-98.as13285.net. [78.150.37.98]) by smtp.gmail.com with ESMTPSA id u19-20020a05600c19d300b003bf6da9d2cesm1138180wmq.28.2022.10.05.04.19.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Oct 2022 04:19:43 -0700 (PDT) Date: Wed, 5 Oct 2022 12:19:42 +0100 From: "Sudip Mukherjee (Codethink)" To: Konstantin Komarov Cc: Nathan Chancellor , Nick Desaulniers , Tom Rix , ntfs3@lists.linux.dev, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, linux-next@vger.kernel.org Subject: build failure of next-20221005 due to a3a956c78efa ("fs/ntfs3: Add option "nocase"") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org Hi All, The builds of x86_84 allmodconfig with clang have failed to build next-20221005 with the error: fs/ntfs3/namei.c:445:7: error: variable 'uni1' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] if (toupper(c1) != toupper(c2)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/linux/ctype.h:64:20: note: expanded from macro 'toupper' #define toupper(c) __toupper(c) ^ fs/ntfs3/namei.c:487:12: note: uninitialized use occurs here __putname(uni1); ^~~~ ./include/linux/fs.h:2803:65: note: expanded from macro '__putname' #define __putname(name) kmem_cache_free(names_cachep, (void *)(name)) ^~~~ fs/ntfs3/namei.c:445:3: note: remove the 'if' if its condition is always false if (toupper(c1) != toupper(c2)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs/ntfs3/namei.c:434:7: error: variable 'uni1' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] if (!lm--) { ^~~~~ fs/ntfs3/namei.c:487:12: note: uninitialized use occurs here __putname(uni1); ^~~~ ./include/linux/fs.h:2803:65: note: expanded from macro '__putname' #define __putname(name) kmem_cache_free(names_cachep, (void *)(name)) ^~~~ fs/ntfs3/namei.c:434:3: note: remove the 'if' if its condition is always false if (!lm--) { ^~~~~~~~~~~~ fs/ntfs3/namei.c:430:22: note: initialize the variable 'uni1' to silence this warning struct cpu_str *uni1, *uni2; ^ = NULL 2 errors generated. git bisect pointed to a3a956c78efa ("fs/ntfs3: Add option "nocase""). I will be happy to test any patch or provide any extra log if needed. -- Regards Sudip