Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp910768imw; Fri, 15 Jul 2022 15:34:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tNz+UQGlntMkNBaun9QkF0SkfnOSzM7ZywMY5biZZ1D7EECx6SPE7qcZ0SvZAv0TYqT404 X-Received: by 2002:a05:6a00:10ca:b0:4f7:5af4:47b6 with SMTP id d10-20020a056a0010ca00b004f75af447b6mr16203810pfu.6.1657924448172; Fri, 15 Jul 2022 15:34:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657924448; cv=none; d=google.com; s=arc-20160816; b=kQVhNBG0wj0lzV0UiKn0NYTeahfTFwvqat38Zjf9dEStfINf0bVn6Z0Mhp0fg600eZ /AFos0ZmfUDKQfNiOaE12bCqy0lJki6Y+nLaAFYJgtyGTPnMfNTect7hPwGAQJgXDPVG KtpJ717eCiEmDoGuSlaqExtaanJCJ1TQ3eidcHBQ0CA5xsoKbmFFlX5K1Fm21jilBumY QTAwxwmz4CN/TccllGtotjWge0eR5BWzRIna+duvWBHSon7dxJJE+S/5o4SWwW5ovc4M zuo0Pbkxuo0IRCvsyikJHAEPpAlvdH6RVJYNPDueDMzrC7nazMBv7ZNqV4SlvXwkC913 DDew== 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:in-reply-to :references:mime-version:dkim-signature; bh=znO2Y2mgyPmy5xm12i9TL77/e75ofCAf3Bz+mrqCTv4=; b=V1GyamdrW9MZQgbKGnSoG23jPzDKytVDLte+TYqGwgR4lKLYrg3v88Q8eCy5m+97IY 5ltRg4Lxa4TsJYgDpldkqwghrdP6dAoe+oWGotAVdS89PfKNmKNRxSY2gROm/LpxTHtH 1K5BRUsRYVLMeAe77ltt/IQG+dhfUi/9Y2UadVhMYoJVzyEfxX2Xu5HlrzM5yxcrA4WZ 8WY1DIZKVS73isFpdWeLCDedDQkuNp8FHRDmYmQSZbDoNlrGfW6leby9YFuOfXBxnghx wmWL0JSrimN+MGT+XdIHFZtSaRWXfX6rUiKB1IyI9GtV9bLCWsmhnWWy+wQgxHqUOVmZ QBHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=nwAiyzRf; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w16-20020a170902d71000b0016bdf391277si6522443ply.112.2022.07.15.15.33.53; Fri, 15 Jul 2022 15:34:08 -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=@gmail.com header.s=20210112 header.b=nwAiyzRf; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232476AbiGOWMG (ORCPT + 99 others); Fri, 15 Jul 2022 18:12:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232816AbiGOWLv (ORCPT ); Fri, 15 Jul 2022 18:11:51 -0400 Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C7368EEC0 for ; Fri, 15 Jul 2022 15:06:53 -0700 (PDT) Received: by mail-yb1-xb2a.google.com with SMTP id e69so10689920ybh.2 for ; Fri, 15 Jul 2022 15:06:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=znO2Y2mgyPmy5xm12i9TL77/e75ofCAf3Bz+mrqCTv4=; b=nwAiyzRfyeVohdu3BaFHjx1n2btdZSItOlEp1k1/USIkt6ye8CF/Tmpde2UgZLFQ2T VKpWpyPaVmctwZl8ZfSwpEp2AWZ3zSWSXLFqo29BbYRYw1kbmkXLywzlEIsuXVVGdR/K lpQlkasoIEiPB+83O+Y6+OxY0CMGw7lqu5Jn7rKleQM89vXdbC3r1yU/Zo/VtC0NeZc0 DujYDqUsr/EHYPEiCFjDFGG5tX9QsAJRjZo4hfOPQKC9Rx4DsxS+jus2zzz+Unem59l+ Gt0RfG2//6/ob5HxWL/xswiLhcV3xlt6DwvrMy9xjLTKYO9xgEOECy7rOxHJH3tE6M+X hqlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=znO2Y2mgyPmy5xm12i9TL77/e75ofCAf3Bz+mrqCTv4=; b=3Uw1xg6JQFasrLyivsxhWwhc6Q9IwY5sQsMQvcMaDgzCQxOm9G8XehRePP0hIYkl3h kieWmqDXEz2fkXe8ZEUuQTqzHYBDSk0+3PC2Hg4pF1Oo0OCIvPLzJjDwGDzvoONIwleg ZJayPoRB/mO40TSZV3EMXMbTBKE9nJYd9WbHoLy+OzvfqPUQTcQJPh14wkpE2kPZ+rwB myn9zUjiHluL7eJsA3Zuas5eMJESky7HrK1TH1iRyllsklYaOuHnJQI49Sxf4SML+V3D jmKp2rlREmTtmkL6TMhzvVGAb8uewfcX7T2bNgHArt6HnXEIatoQGlrw1wkOq1C1iGFg Dqew== X-Gm-Message-State: AJIora81xEjFeqsIS/U9Q4ICdKjjxHtVNoBef/1tg06Wch02ZMSRaVdT leSiIlh+kNXTqa31P2nbnKR8KYFBbwY5B4KMgCXZZRuYVXI= X-Received: by 2002:a25:3c45:0:b0:664:cf75:c2d6 with SMTP id j66-20020a253c45000000b00664cf75c2d6mr15969381yba.446.1657922806561; Fri, 15 Jul 2022 15:06:46 -0700 (PDT) MIME-Version: 1.0 References: <20220714185514.7d1a2ac9@canb.auug.org.au> In-Reply-To: From: Sudip Mukherjee Date: Fri, 15 Jul 2022 23:06:10 +0100 Message-ID: Subject: Re: linux-next: Tree for Jul 14 To: Nathan Chancellor Cc: Linux Kernel Mailing List , clang-built-linux 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,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 On Thu, Jul 14, 2022 at 10:24 PM Nathan Chancellor wrote: > > Dropping the next list and Stephen as these issues are likely present on > mainline as well. > > On Thu, Jul 14, 2022 at 07:26:27PM +0100, Sudip Mukherjee wrote: > > Hi Nathan, > > > > It has not been as bad with CONFIG_KASAN_STACK force disabled for clang > but it is still there for certain architectures, namely ARCH=arm. I > would be curious to see if all those -Wframe-larger-than instances > disappear with CONFIG_KASAN disabled. Almost. This is from powerpc allmodconfig of next-20220715 with CONFIG_KASAN disabled. drivers/block/ublk_drv.c:890:6: error: variable 'io' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] if (tag >= ubq->q_depth) ^~~~~~~~~~~~~~~~~~~ drivers/block/ublk_drv.c:940:2: note: uninitialized use occurs here io->flags &= ~UBLK_IO_FLAG_ACTIVE; ^~ drivers/block/ublk_drv.c:890:2: note: remove the 'if' if its condition is always false if (tag >= ubq->q_depth) ^~~~~~~~~~~~~~~~~~~~~~~~ drivers/block/ublk_drv.c:887:6: error: variable 'io' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] if (ubq->ubq_daemon && ubq->ubq_daemon != current) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/block/ublk_drv.c:940:2: note: uninitialized use occurs here io->flags &= ~UBLK_IO_FLAG_ACTIVE; ^~ drivers/block/ublk_drv.c:887:2: note: remove the 'if' if its condition is always false if (ubq->ubq_daemon && ubq->ubq_daemon != current) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/block/ublk_drv.c:884:6: error: variable 'io' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] if (!ubq || ub_cmd->q_id != ubq->q_id) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/block/ublk_drv.c:940:2: note: uninitialized use occurs here io->flags &= ~UBLK_IO_FLAG_ACTIVE; ^~ drivers/block/ublk_drv.c:884:2: note: remove the 'if' if its condition is always false if (!ubq || ub_cmd->q_id != ubq->q_id) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/block/ublk_drv.c:884:6: error: variable 'io' is used uninitialized whenever '||' condition is true [-Werror,-Wsometimes-uninitialized] if (!ubq || ub_cmd->q_id != ubq->q_id) ^~~~ drivers/block/ublk_drv.c:940:2: note: uninitialized use occurs here io->flags &= ~UBLK_IO_FLAG_ACTIVE; ^~ drivers/block/ublk_drv.c:884:6: note: remove the '||' if its condition is always false if (!ubq || ub_cmd->q_id != ubq->q_id) ^~~~~~~ drivers/block/ublk_drv.c:880:6: error: variable 'io' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] if (ub_cmd->q_id >= ub->dev_info.nr_hw_queues) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/block/ublk_drv.c:940:2: note: uninitialized use occurs here io->flags &= ~UBLK_IO_FLAG_ACTIVE; ^~ drivers/block/ublk_drv.c:880:2: note: remove the 'if' if its condition is always false if (ub_cmd->q_id >= ub->dev_info.nr_hw_queues) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/block/ublk_drv.c:877:6: error: variable 'io' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] if (!(issue_flags & IO_URING_F_SQE128)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/block/ublk_drv.c:940:2: note: uninitialized use occurs here io->flags &= ~UBLK_IO_FLAG_ACTIVE; ^~ drivers/block/ublk_drv.c:877:2: note: remove the 'if' if its condition is always false if (!(issue_flags & IO_URING_F_SQE128)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/block/ublk_drv.c:868:20: note: initialize the variable 'io' to silence this warning struct ublk_io *io; ^ = NULL drivers/block/ublk_drv.c:1304:6: error: variable 'ret' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized] if (!ub) ^~~ drivers/block/ublk_drv.c:1330:9: note: uninitialized use occurs here return ret; ^~~ drivers/block/ublk_drv.c:1304:2: note: remove the 'if' if its condition is always false if (!ub) ^~~~~~~~ drivers/block/ublk_drv.c:1301:9: note: initialize the variable 'ret' to silence this warning int ret; ^ = 0 7 errors generated. _________________________________________________________________________________________________________________ drivers/clk/qcom/gpucc-sm8350.c:111:2: error: initializer element is not a compile-time constant gpu_cc_parent, ^~~~~~~~~~~~~ drivers/clk/qcom/gpucc-sm8350.c:126:2: error: initializer element is not a compile-time constant gpu_cc_parent, ^~~~~~~~~~~~~ 2 errors generated. _________________________________________________________________________________________________________________ drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c:1093:12: error: stack frame size (2112) exceeds limit (2048) in 'vcn_v3_0_start' [-Werror,-Wframe-larger-than] static int vcn_v3_0_start(struct amdgpu_device *adev) ^ 1 error generated. _________________________________________________________________________________________________________________ -- Regards Sudip