Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756832AbbFQNRl (ORCPT ); Wed, 17 Jun 2015 09:17:41 -0400 Received: from filter1.ibarracuda.nl ([83.247.7.10]:59051 "EHLO filter1.ibarracuda.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756792AbbFQNRe (ORCPT ); Wed, 17 Jun 2015 09:17:34 -0400 X-ASG-Debug-ID: 1434547052-0759e71f7448fb40002-xx1T2L X-Barracuda-Envelope-From: Frans.Klaver@xsens.com X-Barracuda-AUTH-User: xsenscom X-Barracuda-Apparent-Source-IP: 87.249.116.215 Date: Wed, 17 Jun 2015 15:17:20 +0200 From: Frans Klaver To: Takashi Iwai CC: Jaroslav Kysela , Subject: Re: [PATCH] sound: hda_intel: fix warning if SND_HDA_I915=n Message-ID: <20150617131719.GC10282@ci00147.xsens-tech.local> X-ASG-Orig-Subj: Re: [PATCH] sound: hda_intel: fix warning if SND_HDA_I915=n References: <1434545599-17662-1-git-send-email-frans.klaver@xsens.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [172.16.11.49] X-Barracuda-Connect: rev-215.116.249.87.virtu.nl[87.249.116.215] X-Barracuda-Start-Time: 1434547052 X-Barracuda-Encrypted: AES128-SHA X-Barracuda-URL: https://filter1.ibarracuda.nl:443/cgi-mod/mark.cgi X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=5.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.19922 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 885 Lines: 26 On Wed, Jun 17, 2015 at 03:13:39PM +0200, Takashi Iwai wrote: > At Wed, 17 Jun 2015 14:53:19 +0200, > Frans Klaver wrote: > > > > When building with CONFIG_SND_HDA_I915=n, I get the following warning: > > > > sound/pci/hda/hda_intel.c: In function ‘azx_probe_continue’: > > sound/pci/hda/hda_intel.c:1882:2: warning: label ‘skip_i915’ defined but not used [-Wunused-label] > > skip_i915: > > ^ > > > > Fix this by using 'if (IS_ENABLED())' rather than #ifdef. > > > > Signed-off-by: Frans Klaver > > This was already fixed in the latest tree. Thanks. Alright, hadn't noticed that. Thanks, Frans -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/