All of lore.kernel.org
 help / color / mirror / Atom feed
* sound/pci/hda/patch_sigmatel.c:2260:26: sparse: obsolete array initializer, use C99 syntax
       [not found] <50f51e93.S/mFy4LpeGQ6WQfE%fengguang.wu@intel.com>
@ 2013-01-15  9:57 ` Fengguang Wu
  2013-01-15 10:28   ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2013-01-15  9:57 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Hi Takashi,

FYI, there are new sparse 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

>> sound/pci/hda/patch_sigmatel.c:2260:26: sparse: obsolete array initializer, use C99 syntax
   sound/pci/hda/patch_sigmatel.c:2266:26: sparse: obsolete array initializer, use C99 syntax

vim +2260 sound/pci/hda/patch_sigmatel.c

8018ee4e Takashi Iwai 2013-01-14  2249  static const struct hda_fixup stac92hd71bxx_fixups[] = {
8018ee4e Takashi Iwai 2013-01-14  2250  	[STAC_92HD71BXX_REF] = {
8018ee4e Takashi Iwai 2013-01-14  2251  		.type = HDA_FIXUP_FUNC,
8018ee4e Takashi Iwai 2013-01-14  2252  		.v.func = stac92hd71bxx_fixup_ref,
8018ee4e Takashi Iwai 2013-01-14  2253  	},
8018ee4e Takashi Iwai 2013-01-14  2254  	[STAC_DELL_M4_1] = {
8018ee4e Takashi Iwai 2013-01-14  2255  		.type = HDA_FIXUP_PINS,
8018ee4e Takashi Iwai 2013-01-14  2256  		.v.pins = dell_m4_1_pin_configs,
8018ee4e Takashi Iwai 2013-01-14  2257  		.chained = true,
8018ee4e Takashi Iwai 2013-01-14  2258  		.chain_id = STAC_92HD71BXX_NO_SMUX,
8018ee4e Takashi Iwai 2013-01-14  2259  	},
8018ee4e Takashi Iwai 2013-01-14 @2260  	[STAC_DELL_M4_2] {
8018ee4e Takashi Iwai 2013-01-14  2261  		.type = HDA_FIXUP_PINS,
8018ee4e Takashi Iwai 2013-01-14  2262  		.v.pins = dell_m4_2_pin_configs,
8018ee4e Takashi Iwai 2013-01-14  2263  		.chained = true,
8018ee4e Takashi Iwai 2013-01-14  2264  		.chain_id = STAC_92HD71BXX_NO_DMIC,
8018ee4e Takashi Iwai 2013-01-14  2265  	},
8018ee4e Takashi Iwai 2013-01-14  2266  	[STAC_DELL_M4_3] {
8018ee4e Takashi Iwai 2013-01-14  2267  		.type = HDA_FIXUP_PINS,
8018ee4e Takashi Iwai 2013-01-14  2268  		.v.pins = dell_m4_3_pin_configs,

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: sound/pci/hda/patch_sigmatel.c:2260:26: sparse: obsolete array initializer, use C99 syntax
  2013-01-15  9:57 ` sound/pci/hda/patch_sigmatel.c:2260:26: sparse: obsolete array initializer, use C99 syntax Fengguang Wu
@ 2013-01-15 10:28   ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2013-01-15 10:28 UTC (permalink / raw)
  To: Fengguang Wu; +Cc: alsa-devel

At Tue, 15 Jan 2013 17:57:00 +0800,
Fengguang Wu wrote:
> 
> Hi Takashi,
> 
> FYI, there are new sparse 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
> 
> >> sound/pci/hda/patch_sigmatel.c:2260:26: sparse: obsolete array initializer, use C99 syntax
>    sound/pci/hda/patch_sigmatel.c:2266:26: sparse: obsolete array initializer, use C99 syntax
> 
> vim +2260 sound/pci/hda/patch_sigmatel.c
> 
> 8018ee4e Takashi Iwai 2013-01-14  2249  static const struct hda_fixup stac92hd71bxx_fixups[] = {
> 8018ee4e Takashi Iwai 2013-01-14  2250  	[STAC_92HD71BXX_REF] = {
> 8018ee4e Takashi Iwai 2013-01-14  2251  		.type = HDA_FIXUP_FUNC,
> 8018ee4e Takashi Iwai 2013-01-14  2252  		.v.func = stac92hd71bxx_fixup_ref,
> 8018ee4e Takashi Iwai 2013-01-14  2253  	},
> 8018ee4e Takashi Iwai 2013-01-14  2254  	[STAC_DELL_M4_1] = {
> 8018ee4e Takashi Iwai 2013-01-14  2255  		.type = HDA_FIXUP_PINS,
> 8018ee4e Takashi Iwai 2013-01-14  2256  		.v.pins = dell_m4_1_pin_configs,
> 8018ee4e Takashi Iwai 2013-01-14  2257  		.chained = true,
> 8018ee4e Takashi Iwai 2013-01-14  2258  		.chain_id = STAC_92HD71BXX_NO_SMUX,
> 8018ee4e Takashi Iwai 2013-01-14  2259  	},
> 8018ee4e Takashi Iwai 2013-01-14 @2260  	[STAC_DELL_M4_2] {

Thanks, these are obvious typos.  Fixed now.
It's interesting that this is still valid in C syntax...


Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-15 10:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <50f51e93.S/mFy4LpeGQ6WQfE%fengguang.wu@intel.com>
2013-01-15  9:57 ` sound/pci/hda/patch_sigmatel.c:2260:26: sparse: obsolete array initializer, use C99 syntax Fengguang Wu
2013-01-15 10:28   ` Takashi Iwai

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.