Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp7693772rwn; Wed, 14 Sep 2022 03:01:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR66D0I+pgkhDcSZgJjN3qzmcPBcPxhgyGS9d1431dbGYNYRrB/n+sAW/na1XxDEzLHADvyO X-Received: by 2002:a17:902:e552:b0:16c:571d:fc08 with SMTP id n18-20020a170902e55200b0016c571dfc08mr35634480plf.151.1663149713891; Wed, 14 Sep 2022 03:01:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663149713; cv=none; d=google.com; s=arc-20160816; b=g9KQdPM8Jnzjnj60z+Uiy6PE7J9kIoYw+lcOVtMkNBUsnLXLWd0Hkp9lhcgLTlMOg2 uvWCHGKGWHtfCybURJFVGainggxwkxQBdUiLJVt2/5DE1oqqzVAIb5hedmhwKIsczCfz va90XvcHHu1qYvtP0/41SzO3P24ADAF6NqRTOIms+/lzbXvxlzbN+ha0KEKI/0jcF0se Zyg/sxGKhwgeRZnLs3NAodlC3V56+y3P3KoHknXEOnxc5m1anlG1E1XLR6THa7SMJj1z 4xqskv/obntNo6mlaj72cw1j8cDCTfbjwFiu9nSaNx32bwDn9DFIqcZGOMUTYgMLpl2z 49sw== 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=5vD19OkKQAN2EYpwCMROJSUHrDie2nQLWk2dKd+mUnM=; b=yW0fhtK1TPO6ld7fVw1+yMlmGdt52tGbZqoaGCE0gr+ngzPcl/ezChLX6hLNrz98sP MUFnVyTN2QxOrI3+gcxGBGNrsslZ8jkkNAHujH9LEK1WC+wqTmG8lsGf3Obz1l87x6Z2 /okqLMFYD4DEsNb8V6H0AncXSgGwwkfgVavSWUmFjllJJUFAGklnIPXOxbtz/w8FJ6Ly a6LTQtQT3QjrkDzZTtnPM4WoSN9civeAmL0SEYq1Dsyr4pWVXylsg9Z4wwNMfGGncuw/ q4NlDmegvdbmntPAF2IA304dhQ/7GSzIq/zPIweHdBu9mjYVsvB3n4mmN1PE7hv3ppSd bGGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=M20tsW8J; 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 e12-20020a056a001a8c00b00544fa93ae2asi7182597pfv.110.2022.09.14.03.01.40; Wed, 14 Sep 2022 03:01:53 -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=@kernel.org header.s=k20201202 header.b=M20tsW8J; 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 S230061AbiINJlQ (ORCPT + 99 others); Wed, 14 Sep 2022 05:41:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230494AbiINJkr (ORCPT ); Wed, 14 Sep 2022 05:40:47 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94F134E85E for ; Wed, 14 Sep 2022 02:40:23 -0700 (PDT) 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 87332B80E02 for ; Wed, 14 Sep 2022 09:40:21 +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 Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org 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 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,T_SCC_BODY_TEXT_LINE 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 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