projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9113485
)
[ALSA] serial-uart16550 - Fix a compile warning
author
Takashi Iwai
<tiwai@suse.de>
Mon, 23 Jan 2006 14:21:28 +0000
(15:21 +0100)
committer
Jaroslav Kysela
<perex@suse.cz>
Wed, 1 Feb 2006 12:09:10 +0000
(13:09 +0100)
Modules: Generic drivers
Fix a gcc-4.1 compile warning regarding uninitialized variables.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/serial-u16550.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/drivers/serial-u16550.c
b/sound/drivers/serial-u16550.c
index 29676d800cae163dd3a14216ed4a3a25d39f7dba..112ddf70540289af5269ecb7ab551dc07024a5d2 100644
(file)
--- a/
sound/drivers/serial-u16550.c
+++ b/
sound/drivers/serial-u16550.c
@@
-789,7
+789,7
@@
static int __init snd_uart16550_create(struct snd_card *card,
if ((err = snd_uart16550_detect(uart)) <= 0) {
printk(KERN_ERR "no UART detected at 0x%lx\n", iobase);
- return
err
;
+ return
-ENODEV
;
}
if (irq >= 0 && irq != SNDRV_AUTO_IRQ) {