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 alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C860DECAAD3 for ; Wed, 14 Sep 2022 09:42:04 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 1597A17FD; Wed, 14 Sep 2022 11:41:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1597A17FD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1663148523; bh=9d25q7djykcHE0hT6Fq9ch208cDtKJYVQfvbgze86aM=; h=From:To:In-Reply-To:References:Subject:Date:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=ecjgE6YB1Mkhlz2kwDbCgRs7RONmoy8dnNZMhbiDJRAxenuCYrt3Z5oLJlBceLOyt hF3MQJVMP+y/Q7b1FImqvLjjBd5YZ/UEk8XoKIfU37CXx7GsYZuUYQ5HoUZbc7pXlz FXmDvZ2M6yJ/TBm+xVaDGejk9BT9uhJrp+ayxfBc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 3CBE2F80528; Wed, 14 Sep 2022 11:40:26 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B8091F80430; Wed, 14 Sep 2022 11:40:24 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 39E72F801D8 for ; Wed, 14 Sep 2022 11:40:22 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 39E72F801D8 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="M20tsW8J" 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 E729361AED; Wed, 14 Sep 2022 09:40:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABD36C43141; Wed, 14 Sep 2022 09:40:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663148420; bh=9d25q7djykcHE0hT6Fq9ch208cDtKJYVQfvbgze86aM=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=M20tsW8JimtW/0pw2xZm3L1G3Ax1P8M1qasEDF7rc57ZKVhl21vmyOJDq1PanYHU3 K1CMf/zLtsJ0o4WGe87Bt0GT94k6vPT62O3AmxdZDujbeVjzd8mrGtiVEBNNga/cRH L6QWPx435XADr1l3S/5CPrvPJwLCspPx0eQQkVnxdrblo1Gs7AcoNm+KNGEQP0xS1d KQoxlHN4n8MIf5lD1UVyqdY0R2JjJQXceBlGJDEyiFvQEeWRLF9IUlCSilPg1DPKff wfgZPU+k7F7JXrGVMlKxYlcDipssxmQWUVifu/GiXcnzHWPiQ6KVyP/xYKlyWby2Pv CG0wqLYuXD4iA== From: Mark Brown To: Gaosheng Cui , cezary.rojewski@intel.com, tiwai@suse.com, ranjani.sridharan@linux.intel.com, pierre-louis.bossart@linux.intel.com, perex@perex.cz, liam.r.girdwood@linux.intel.com, kai.vehmanen@linux.intel.com, peter.ujfalusi@linux.intel.com, yung-chuan.liao@linux.intel.com In-Reply-To: <20220822035133.2147381-1-cuigaosheng1@huawei.com> References: <20220822035133.2147381-1-cuigaosheng1@huawei.com> Subject: Re: [PATCH -next] ASoC: Intel: fix unused-variable warning in probe_codec Message-Id: <166314841746.314266.6045600836637107787.b4-ty@kernel.org> Date: Wed, 14 Sep 2022 10:40:17 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.10.0-dev-7dade Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Mon, 22 Aug 2022 11:51:33 +0800, Gaosheng Cui wrote: > In configurations with CONFIG_SND_SOC_INTEL_SKYLAKE_HDAUDIO_CODEC=n, > gcc warns about an unused variable: > > sound/soc/intel/skylake/skl.c: In function ‘probe_codec’: > sound/soc/intel/skylake/skl.c:729:18: error: unused variable ‘skl’ [-Werror=unused-variable] > struct skl_dev *skl = bus_to_skl(bus); > ^~~ > cc1: all warnings being treated as errors > > [...] Applied to broonie/sound.git for-next Thanks! [1/1] ASoC: Intel: fix unused-variable warning in probe_codec commit: 515626a33a194c4caaf2879dbf9e00e882582af0 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