Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6484393rwl; Mon, 9 Jan 2023 08:55:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXuXup+fTI12U6lrV9uc05cZJzfZQOeZoc/V+6RReD8gQO8JvJ9Cjg6fuNFC6xlZEQ7hNFvN X-Received: by 2002:a17:90a:ee45:b0:227:d61:da94 with SMTP id bu5-20020a17090aee4500b002270d61da94mr4972315pjb.44.1673283337765; Mon, 09 Jan 2023 08:55:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673283337; cv=none; d=google.com; s=arc-20160816; b=MELgIzPI7V1jCz0iyPHUBdtqvpe6MukJGYSWIsLupFBlV9PJQLb2hlScJ6UGAGyFvG A5Z523vELNYjSXAnnsi3VyrkcvPHTh2DvS0Jap61Y88/9w/579j83gvmkhqv3Xob6Mr6 zTub9KqWq20lqX4SuWSqkxXHRs0bvV0GRWO0tpQunR/bbgAq8XjeeP3O3Iq4qqzcjikL Rm2MERmLqKe/B9/DN9bxlabhtlyXSamDbgNbs1lPm9wNGg+fTj2AWWC2l/OErZfTHqkh ATjuvWHAWsXVloX2AtJcreriX/2PFxu/jFcStrrZ1dqlNgZeAzvtDY2osP2hmT5oEww9 c42Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=bSaeg5e60PyZQgdnVlHw2z09l0BgMrd6HC7T/ey+onY=; b=faYvstxAxmrGs8wC+Se72LJ1uL1/UrPXuAH3IwLl5/qHV5kt9RkOvT6gnkkpJu+k77 SZfZpRGMY206VWx6sRgOundcq3oNCh+el2QgJZWzBbK0dhs8xiUIUyUzvEpbcm9QGJoV c8LNl8TX/z6nUW+MtWiTRJ2EM6JhYiftBlyh1AJ/sp5NMMrbEMkwzIy/7YyDLkiTHAa9 dV71qAhttMZ7G4bGkBsYh9Xn5rs3WnkAUW3NOg1c6g3mBDSlMEPr7odGZTTam+Ht0AWn GE7/1uC2VR7Aa5PwnQzNJcv+2w/W5HWrhmieKA/mCbSpasq0OPBU22dqntsgS6a2vxnF Qsrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i7nz99UU; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b4-20020a17090a9bc400b00226851a2a26si12523830pjw.60.2023.01.09.08.55.31; Mon, 09 Jan 2023 08:55:37 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=i7nz99UU; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237128AbjAIQvJ (ORCPT + 53 others); Mon, 9 Jan 2023 11:51:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234812AbjAIQuV (ORCPT ); Mon, 9 Jan 2023 11:50:21 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D2B0F64DC for ; Mon, 9 Jan 2023 08:49:20 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7A170611EE for ; Mon, 9 Jan 2023 16:49:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1ECA7C433F1; Mon, 9 Jan 2023 16:49:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673282959; bh=crfH3DNuxnnnEgBLc4QnnpaR6XIAnGQOnWmoA6qkFFo=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=i7nz99UUUB6mq8L6gizntMmjWgzo0ggwV1fA/GkVuSeGE/DYjSDy4egfwgjFO7lkn n3E1W93PxQVkOojQkLMT9IvVzW3BQ8k91d9Zvnssn4pVzbzmAejw923qZani6LdgTe U2vuEB6YPEa57xrjp/pae4pMRCKio68lLDZ9yjcySuwPOYJ6wBQtbK3Im7i0hwz3KC bKsTMg5FDAMq0S/Fsmth7TzthwKfInp33J8GtUk4/xxzgS6EqkWtBGeQL4fxx1P1u7 Kwk3yxKCGB+O/FcjS0A8hQFmP2MP+RB4/0+pGU5XZ2MyANpiYZejzq899YftK02PGc xJ+PbTWkjkulA== From: Mark Brown To: lgirdwood@gmail.com, Nathan Chancellor Cc: Syed.SabaKareem@amd.com, ndesaulniers@google.com, trix@redhat.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Vijendar Mukunda In-Reply-To: <20230105-wsometimes-uninitialized-pci-ps-c-v2-1-c50321676325@kernel.org> References: <20230105-wsometimes-uninitialized-pci-ps-c-v2-1-c50321676325@kernel.org> Subject: Re: [PATCH v2] ASoC: amd: ps: Fix uninitialized ret in create_acp64_platform_devs() Message-Id: <167328295784.323147.10320883556735377893.b4-ty@kernel.org> Date: Mon, 09 Jan 2023 16:49:17 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12-dev-8b3d1 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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, 05 Jan 2023 17:43:39 -0700, Nathan Chancellor wrote: > Clang warns: > > sound/soc/amd/ps/pci-ps.c:218:2: error: variable 'ret' is used uninitialized whenever switch default is taken [-Werror,-Wsometimes-uninitialized] > default: > ^~~~~~~ > sound/soc/amd/ps/pci-ps.c:239:9: note: uninitialized use occurs here > return ret; > ^~~ > sound/soc/amd/ps/pci-ps.c:190:9: note: initialize the variable 'ret' to silence this warning > int ret; > ^ > = 0 > 1 error generated. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: amd: ps: Fix uninitialized ret in create_acp64_platform_devs() commit: de1cae22898cf10aacc735a21d799b5bbce4496c All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark