projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
447d627
)
ALSA: mixart: silence an uninitialized variable warning
author
Dan Carpenter
<dan.carpenter@oracle.com>
Wed, 16 Mar 2016 07:42:13 +0000
(10:42 +0300)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 16 Mar 2016 15:35:16 +0000
(16:35 +0100)
We could print the uninitialized value of "stat" in the error message.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/mixart/mixart.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/mixart/mixart.c
b/sound/pci/mixart/mixart.c
index bc81b9f75ed0dd904f8f1eeed2e78a97dbb70a50..25c0ddd3a53bb6219ca41c00bfaef708b374a34b 100644
(file)
--- a/
sound/pci/mixart/mixart.c
+++ b/
sound/pci/mixart/mixart.c
@@
-132,7
+132,7
@@
static int mixart_set_pipe_state(struct mixart_mgr *mgr,
}
if(start) {
- u32 stat;
+ u32 stat
= 0
;
group_state.pipe_count = 0; /* in case of start same command once again with pipe_count=0 */