projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3ba906
)
ALSA: Fix Trivial Warnining in sound/pci/cmipci.c
author
Subrata Modak
<
[email protected]
>
Mon, 27 Apr 2009 11:12:37 +0000
(16:42 +0530)
committer
Takashi Iwai
<
[email protected]
>
Mon, 27 Apr 2009 11:53:13 +0000
(13:53 +0200)
Fixed the compile warning below by initializatin iomidi variable properly.
sound/pci/cmipci.c: In function ‘snd_cmipci_probe’:
sound/pci/cmipci.c:3017: warning: ‘iomidi’ may be used uninitialized in this function
Signed-off-by: Subrata Modak <
[email protected]
>
Cc: linux-pci <
[email protected]
>
Cc: Balbir Singh <
[email protected]
>
Cc: Sachin P Sant <
[email protected]
>
Signed-off-by: Takashi Iwai <
[email protected]
>
sound/pci/cmipci.c
patch
|
blob
|
history
diff --git
a/sound/pci/cmipci.c
b/sound/pci/cmipci.c
index c7899c32aba19d08b945da3e4c4e510d46fa6a8f..449fe02f666e19288936295ebc8b5cc76c9d154b 100644
(file)
--- a/
sound/pci/cmipci.c
+++ b/
sound/pci/cmipci.c
@@
-3014,7
+3014,7
@@
static int __devinit snd_cmipci_create(struct snd_card *card, struct pci_dev *pc
.dev_free = snd_cmipci_dev_free,
};
unsigned int val;
- long iomidi;
+ long iomidi
= 0
;
int integrated_midi = 0;
char modelstr[16];
int pcm_index, pcm_spdif_index;