projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e83998
)
OSS: soundcard: fix return value of sound_open()
author
Dan Carpenter
<error27@gmail.com>
Sun, 10 Oct 2010 17:34:22 +0000
(19:34 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 11 Oct 2010 11:45:30 +0000
(13:45 +0200)
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/oss/soundcard.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/oss/soundcard.c
b/sound/oss/soundcard.c
index a5ab61ed0a975fff09829dfd13454b72c6839fe4..46c0d03dbecced68ca318dbbe20df52d1da4ab0b 100644
(file)
--- a/
sound/oss/soundcard.c
+++ b/
sound/oss/soundcard.c
@@
-249,7
+249,7
@@
static int sound_open(struct inode *inode, struct file *file)
}
mutex_unlock(&soundcard_mutex);
- return
0
;
+ return
retval
;
}
static int sound_release(struct inode *inode, struct file *file)