Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp4855974rwp; Sun, 16 Jul 2023 12:30:28 -0700 (PDT) X-Google-Smtp-Source: APBJJlGaOiKabC2WMNit+O5pVl4oK8rtK4bPQO+HOJplTjDvmUyeVoT/XjPOhB+bkrsQwoTx7zLr X-Received: by 2002:a05:6a00:4a83:b0:676:2a5c:7bc5 with SMTP id dr3-20020a056a004a8300b006762a5c7bc5mr10496198pfb.1.1689535828539; Sun, 16 Jul 2023 12:30:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689535828; cv=none; d=google.com; s=arc-20160816; b=aG6vCOFuHL8Os6tO5D4sEGCJHQRZfSegaOvkcGmswGordVCZevyUyQLK0xXZgDfSlu Go5dsGSPeDRbV1nTvOMJ7v5l7QkEZIFp4w6UwOxP44+vpDkDd5nu41fYBvZQAVb884NQ uBbaUzAgxMVFRmROItccc4YuYBe09BEhL4yko1NMSbz5gsgSNBpeboAl6OVLb14eo3jw 5ZM2B0Ad8MTJ0QdO9fGJSRFOGfPVUI/l70cVtigPfpff03y0ibcvILZ0z0d3wacqPMnU KRuemfHLe7WIM62klFgs8QCelqXiKZEvsLw+Cv51kdjYzuWnRWacLQIhXq2DRoowSJTW MOWQ== 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=SSAuqt+s4WpqnMkPR0UJ8Xay9OvKHBk6xAfxVDPkGGQ=; fh=MjwDAmlV8feECuzKa+VlR3KPaCmXyRne9hzKnJN1dkU=; b=jqVGlLl7U6k4HVc6qWhkxskAcDUQtkJBehMgue7DVl7Asz71Q4TYV75MbWtBS0p08o hbSzkRMb70JRdCx5T8rkft+DLI36wW6VYPOArv9zqUgdcBOCMFK218g49+OnnDpIpKoN WBnqDRMff6JPRcuk9JWuBEMHxz+e6uXdOLvfM0QzPdNQQ887aabtdpdOMqnRiECrs2B3 sPMyZyWEmjHxdBVm2J+9O1nZ9m8MrbOZsYNPVSyxsgMyXdhZ0eH7vRYpz884VPvpGldC p68Sw3QaHahIctLOxslp1Z3zlpLbFMySplZueAiXnyO8dWZSdl5GaCnwlGFU2RKrnk3Z x9IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GCfnrMXY; 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 o10-20020a056a0015ca00b0068208d19b23si10671751pfu.311.2023.07.16.12.30.15; Sun, 16 Jul 2023 12:30:28 -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=GCfnrMXY; 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 S229697AbjGPTZ4 (ORCPT + 99 others); Sun, 16 Jul 2023 15:25:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbjGPTZz (ORCPT ); Sun, 16 Jul 2023 15:25:55 -0400 Received: from mail-vk1-xa33.google.com (mail-vk1-xa33.google.com [IPv6:2607:f8b0:4864:20::a33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6959D98 for ; Sun, 16 Jul 2023 12:25:54 -0700 (PDT) Received: by mail-vk1-xa33.google.com with SMTP id 71dfb90a1353d-48165cd918dso973033e0c.0 for ; Sun, 16 Jul 2023 12:25:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689535553; x=1692127553; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=SSAuqt+s4WpqnMkPR0UJ8Xay9OvKHBk6xAfxVDPkGGQ=; b=GCfnrMXYxp6tDgtZAagG8EKzfgEUkVMqLXnYtg5sUR5EMzDvuVV7JWq8MfFipjIqwp rQWsJLvKS3lRUTIoET8y9ScSg8YJkueRQBIMPFKiK5Ht8RCUrUCsCLc30sRywisgwuYa nLb0CvZurNsuecbNXH5SJbeg2xgpy3fZtgWFcqmbw0/QSt6XTJrrtiNePq+1g15mwoq3 WKeQ2nYtg8zriWqSdiThh58oCfl9O7kfNJ9WM0qNKbHZOhFWomvLC5fXwqNHmGT/3QDv wuUdHkzD/emtDWaae5ODNqd9uqDeVuBXwmdmZwhAIZK+jJ5OMfLVLDFs9WzLS02quVZp LSSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689535553; x=1692127553; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=SSAuqt+s4WpqnMkPR0UJ8Xay9OvKHBk6xAfxVDPkGGQ=; b=cd+sMzbxARxtQrVC3fEQllS7RVN+rFl/hA9+3dDfxEKxOqHXYQu1IdUBhll7styJTM Aw0AiRSkm8ijTjxZj7Rr3BNKztH35s5lFaSLYddRl1hzGYanmBB5NpNlsYa0E7wu467H HZKsUbsS1+anMUpvOVawI2B5Gw5fKLXaTzJn/MXOqpsA6nC0zVS/Padr8FV9TAc2K82X nmxdP9UrJyhS4fUPcqvQAyjC3ZdwWENz3amsML3HQixfOiVoSLoDZK5Mg23LsKErE3JA Lf4Ulr1PYGKmTJIY1GYSB0xed+i6hJZRog1MSksG4hzhKafjV4j3VmJh5jZykQ/kJ7oq 658g== X-Gm-Message-State: ABy/qLY1Um3m8sUe7KIhFvhOgVLRUeNtSq0xUSapRwKFDMwI0q9Ku2Wg 3tqpmsxKCzhqwC4QhkZ81A5/i/JYk91g1sSPFBjYVYRWNQc7091FNhc= X-Received: by 2002:a1f:db86:0:b0:481:90c6:d059 with SMTP id s128-20020a1fdb86000000b0048190c6d059mr855078vkg.2.1689535553336; Sun, 16 Jul 2023 12:25:53 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Mon, 17 Jul 2023 00:55:42 +0530 Message-ID: Subject: stable-rc 6.1: x86: clang build failed - block/blk-cgroup.c:1237:6: error: variable 'ret' is used uninitialized whenever 'if' condition is true To: linux-stable , open list , clang-built-linux , lkft-triage@lists.linaro.org Cc: Greg Kroah-Hartman , Sasha Levin , Nathan Chancellor , Nick Desaulniers , Anders Roxell 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_BLOCKED, 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 Linux stable-rc 6.1 build failed x86 and i386 with clang. Reported-by: Linux Kernel Functional Testing Build log: ----------- block/blk-cgroup.c:1237:6: error: variable 'ret' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] if (init_blkcg_llists(blkcg)) ^~~~~~~~~~~~~~~~~~~~~~~~ block/blk-cgroup.c:1287:9: note: uninitialized use occurs here return ret; ^~~ block/blk-cgroup.c:1237:2: note: remove the 'if' if its condition is always false if (init_blkcg_llists(blkcg)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ block/blk-cgroup.c:1222:33: note: initialize the variable 'ret' to silence this warning struct cgroup_subsys_state *ret; ^ = NULL 1 error generated. Links, - https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y-sanity/build/v6.1.38-599-g5071846d06ef/testrun/18327562/suite/build/test/clang-lkftconfig/history/ - https://storage.tuxsuite.com/public/linaro/lkft/builds/2SfFoWj9NmKWHRijR0hcoXGjLhr/ tuxmake \ --runtime podman --target-arch x86_64 \ --toolchain clang-16 \ --kconfig https://storage.tuxsuite.com/public/linaro/lkft/builds/2SfFoWj9NmKWHRijR0hcoXGjLhr/config \ LLVM=1 LLVM_IAS=1 -- Linaro LKFT https://lkft.linaro.org