diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-12-06 23:35:34 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:31 -0500 |
commit | e45f4676108d19ae93918f06cb6731c86108341a (patch) | |
tree | 66811c091d94f77697835e53d6d9b052af143982 /sound/oss/emu10k1/cardwi.h | |
parent | 91046a8a693823d434f0aa70419c48ebeb8e1b11 (diff) |
[PATCH] sound/oss/emu10k1: handle userspace copy errors
Propagate copy_to/from_user() errors back through callers.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound/oss/emu10k1/cardwi.h')
-rw-r--r-- | sound/oss/emu10k1/cardwi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/emu10k1/cardwi.h b/sound/oss/emu10k1/cardwi.h index 15cfb9b35596..e82029b46ad1 100644 --- a/sound/oss/emu10k1/cardwi.h +++ b/sound/oss/emu10k1/cardwi.h | |||
@@ -83,7 +83,7 @@ void emu10k1_wavein_close(struct emu10k1_wavedevice *); | |||
83 | void emu10k1_wavein_start(struct emu10k1_wavedevice *); | 83 | void emu10k1_wavein_start(struct emu10k1_wavedevice *); |
84 | void emu10k1_wavein_stop(struct emu10k1_wavedevice *); | 84 | void emu10k1_wavein_stop(struct emu10k1_wavedevice *); |
85 | void emu10k1_wavein_getxfersize(struct wiinst *, u32 *); | 85 | void emu10k1_wavein_getxfersize(struct wiinst *, u32 *); |
86 | void emu10k1_wavein_xferdata(struct wiinst *, u8 __user *, u32 *); | 86 | int emu10k1_wavein_xferdata(struct wiinst *, u8 __user *, u32 *); |
87 | int emu10k1_wavein_setformat(struct emu10k1_wavedevice *, struct wave_format *); | 87 | int emu10k1_wavein_setformat(struct emu10k1_wavedevice *, struct wave_format *); |
88 | void emu10k1_wavein_update(struct emu10k1_card *, struct wiinst *); | 88 | void emu10k1_wavein_update(struct emu10k1_card *, struct wiinst *); |
89 | 89 | ||