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 BCF37C6FA82 for ; Tue, 13 Sep 2022 15:22:41 +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 7A8D2164E; Tue, 13 Sep 2022 17:21:49 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7A8D2164E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1663082559; bh=wEYxQZevQnVUYWrbBTRVLZpQWxEN/xP5XgOiuoTYQPg=; h=Date:From:To:Subject:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=vOwEkvKq5/hIuiCujKwRD8lCOpaxg64yIcR6LBAQpn3AcSDZ1G/awIIMlCVj4CGMy 8aOuVaGgt2u9rreJsqjHtggNSMWhrwe04CCg501SxoRv845u1jam0OqkbTe1OE7NIL 30Ph/A+Ahn3umwXttAXVQ8+RRlaAj/4t3Me3QHZA= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 0BEADF801EC; Tue, 13 Sep 2022 17:21:49 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id BA7BDF80224; Tue, 13 Sep 2022 17:21:47 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id AB078F800FE for ; Tue, 13 Sep 2022 17:21:41 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz AB078F800FE Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="xyIQEu8z"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="dYow5v6p" Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 1CB7434767; Tue, 13 Sep 2022 15:21:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1663082501; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jCwdsZHjxPGGiGBXIrdEwcvTl9L7wQxJY4/o2ien4ok=; b=xyIQEu8zZLW8T9vl1Ly75KX5TWGFnVke9XxfE3h3NH2NxT6S37BcXWKn5ZixGI8uMSfvJ8 xAJugtSrAZ1n8kUb+6SRYTRV2nt+r/ooo7Wyy1HCSsbsNtvg8eU8yaosASXIUSA4k8lDtx RbV6ijMJCFv6cZCo8v1uvqJ+qfAcINY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1663082501; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jCwdsZHjxPGGiGBXIrdEwcvTl9L7wQxJY4/o2ien4ok=; b=dYow5v6prfwQR8Y2hk1GpdUP+PGyf3SmDKUFMVDLXue/mwoFnEbyeinbLsczPkj3h0tOPN Iq9qUWLPeSb9aKAw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id DAD07139B3; Tue, 13 Sep 2022 15:21:40 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id PRuXNASgIGMQUwAAMHmgww (envelope-from ); Tue, 13 Sep 2022 15:21:40 +0000 Date: Tue, 13 Sep 2022 17:21:40 +0200 Message-ID: <874jxbfgfv.wl-tiwai@suse.de> From: Takashi Iwai To: Cezary Rojewski Subject: Re: [PATCH -next] ASoC: Intel: fix unused-variable warning in probe_codec In-Reply-To: <39b0bfef-be7d-05a9-d964-19a74757bb8d@intel.com> References: <20220822035133.2147381-1-cuigaosheng1@huawei.com> <39b0bfef-be7d-05a9-d964-19a74757bb8d@intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: 8bit Cc: alsa-devel@alsa-project.org, kai.vehmanen@linux.intel.com, peter.ujfalusi@linux.intel.com, tiwai@suse.com, ranjani.sridharan@linux.intel.com, pierre-louis.bossart@linux.intel.com, liam.r.girdwood@linux.intel.com, broonie@kernel.org, yung-chuan.liao@linux.intel.com, Gaosheng Cui , 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 Tue, 13 Sep 2022 16:03:35 +0200, Cezary Rojewski wrote: > > On 2022-08-22 5:51 AM, 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 > > > > Fixes: 3fd63658caed9 ("ASoC: Intel: Drop hdac_ext usage for codec device creation") > > Signed-off-by: Gaosheng Cui > > Thanks for the fix. > > Acked-by: Cezary Rojewski Applied now. Takashi