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 B513BC61DA4 for ; Fri, 3 Feb 2023 14:56:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233651AbjBCO4Z (ORCPT ); Fri, 3 Feb 2023 09:56:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233379AbjBCO4T (ORCPT ); Fri, 3 Feb 2023 09:56:19 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 347DD8B7DB for ; Fri, 3 Feb 2023 06:56:17 -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 ams.source.kernel.org (Postfix) with ESMTPS id D66ECB82ADD for ; Fri, 3 Feb 2023 14:56:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FF24C433A0; Fri, 3 Feb 2023 14:56:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1675436174; bh=HBW7gQQhXYjcv51yj9Mg8t0xqUMKWXdcmuW5/POrA4I=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=rJ69gpF9aipo4mKw2c/YxbUOTxC9hSsdzvi2N6dixE54ys38FTHnMDle5M9hPbvBr 8X5xuBSYak2+bVBIEVqZVuA58z4qW6MOLZ3m0i0u7JxXMpL2ELo/TUQIr+5+h58ZJr JyWfj8hkOSE/FQuVgomrX2FA31hdMIwSuXIvzo9gAnGyXQdIhw4Ep6U411acOtIxOa Co4G1BXvJv89u/mItFYOI+nl1N53XLiDnONGLE1iPbP1xPYr2ZBJKwJ6YWu3F/ljL0 GeW23JfwFjhz4kIpzLgplML4md+fwK2pGF++KLkRLPnw0ycYVR2zUfK92ZJCkA94FF VhSGrgIpOMXoQ== From: Mark Brown To: lgirdwood@gmail.com, tiwai@suse.com, perex@perex.cz, matthias.bgg@gmail.com, Trevor Wu Cc: alsa-devel@alsa-project.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, error27@gmail.com In-Reply-To: <20230202103704.15626-1-trevor.wu@mediatek.com> References: <20230202103704.15626-1-trevor.wu@mediatek.com> Subject: Re: [PATCH] ASoC: mediatek: mt8188: remove etdm dead code Message-Id: <167543617210.928818.16034479848573995520.b4-ty@kernel.org> Date: Fri, 03 Feb 2023 14:56:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.0 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 02 Feb 2023 18:37:04 +0800, Trevor Wu wrote: > Some Smatch static checker warning like below was found. > > sound/soc/mediatek/mt8188/mt8188-dai-etdm.c:2487 > mt8188_dai_etdm_parse_of() > warn: 'ret' returned from snprintf() might be larger than 48 > > 2479 for (i = 0; i < MT8188_AFE_IO_ETDM_NUM; i++) { > 2480 dai_id = ETDM_TO_DAI_ID(i); > 2481 etdm_data = afe_priv->dai_priv[dai_id]; > 2482 > 2483 ret = snprintf(prop, sizeof(prop), > 2484 "mediatek,%s-multi-pin-mode", > 2485 of_afe_etdms[i].name); > 2486 if (ret < 0) { > --> 2487 dev_err(afe->dev, "%s snprintf > err=%d\n", > 2488 > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: mediatek: mt8188: remove etdm dead code commit: 66b9e94cb7783d3c632e2c1b436b26ece8c14e5d 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