[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150617131719.GC10282@ci00147.xsens-tech.local>
Date: Wed, 17 Jun 2015 15:17:20 +0200
From: Frans Klaver <frans.klaver@...ns.com>
To: Takashi Iwai <tiwai@...e.de>
CC: Jaroslav Kysela <perex@...ex.cz>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] sound: hda_intel: fix warning if SND_HDA_I915=n
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 <frans.klaver@...ns.com>
>
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists