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 02384C43334 for ; Fri, 15 Jul 2022 22:12:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232810AbiGOWMH (ORCPT ); Fri, 15 Jul 2022 18:12:07 -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-Google-Smtp-Source: AGRyM1vCyIioAc6FrRYSlWDCUwjzz1zghjCHuCXctUu8dF3ZQxopEjcdoi1g3VkwnNz6rOpCmINBYPNNMlGpkWgVgCk= 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" 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