From: Fengguang Wu <fengguang.wu@intel.com>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: sound/pci/hda/patch_sigmatel.c:2219:24: warning: unused variable 'spec'
Date: Tue, 15 Jan 2013 17:57:41 +0800 [thread overview]
Message-ID: <20130115095741.GB21850@localhost> (raw)
In-Reply-To: <50f520b9.cfhzbR31VpCmN1oz%fengguang.wu@intel.com>
Hi Takashi,
FYI, there are new compile warnings show up in
tree: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-unstable.git master
head: 629965377895ebe6a546184911d588fd29596dc8
commit: 8018ee4e722f6c408d475262b54dc8a73fdd349f ALSA: hda - Use standard fixup table for IDT92HD71Bxx
date: 2 hours ago
config: make ARCH=i386 defconfig
All warnings:
sound/pci/hda/patch_sigmatel.c: In function 'stac92hd71bxx_fixup_hp':
>> sound/pci/hda/patch_sigmatel.c:2219:24: warning: unused variable 'spec' [-Wunused-variable]
vim +/spec +2219 sound/pci/hda/patch_sigmatel.c
8018ee4e Takashi Iwai 2013-01-14 2216 static void stac92hd71bxx_fixup_hp(struct hda_codec *codec,
8018ee4e Takashi Iwai 2013-01-14 2217 const struct hda_fixup *fix, int action)
8018ee4e Takashi Iwai 2013-01-14 2218 {
8018ee4e Takashi Iwai 2013-01-14 @2219 struct sigmatel_spec *spec = codec->spec;
8018ee4e Takashi Iwai 2013-01-14 2220
8018ee4e Takashi Iwai 2013-01-14 2221 if (action != HDA_FIXUP_ACT_PRE_PROBE)
8018ee4e Takashi Iwai 2013-01-14 2222 return;
8018ee4e Takashi Iwai 2013-01-14 2223
8018ee4e Takashi Iwai 2013-01-14 2224 if (hp_blike_system(codec->subsystem_id)) {
8018ee4e Takashi Iwai 2013-01-14 2225 unsigned int pin_cfg = snd_hda_codec_get_pincfg(codec, 0x0f);
8018ee4e Takashi Iwai 2013-01-14 2226 if (get_defcfg_device(pin_cfg) == AC_JACK_LINE_OUT ||
8018ee4e Takashi Iwai 2013-01-14 2227 get_defcfg_device(pin_cfg) == AC_JACK_SPEAKER ||
---
0-DAY kernel build testing backend Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
next parent reply other threads:[~2013-01-15 9:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <50f520b9.cfhzbR31VpCmN1oz%fengguang.wu@intel.com>
2013-01-15 9:57 ` Fengguang Wu [this message]
2013-01-15 10:28 ` sound/pci/hda/patch_sigmatel.c:2219:24: warning: unused variable 'spec' Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130115095741.GB21850@localhost \
--to=fengguang.wu@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.