41 |
*/ |
*/ |
42 |
|
|
43 |
int |
int |
44 |
snd_seq_oss_read(seq_oss_devinfo_t *dp, char *buf, int count) |
snd_seq_oss_read(seq_oss_devinfo_t *dp, char __user *buf, int count) |
45 |
{ |
{ |
46 |
seq_oss_readq_t *readq = dp->readq; |
seq_oss_readq_t *readq = dp->readq; |
47 |
int cnt, pos; |
int cnt, pos; |
81 |
*/ |
*/ |
82 |
|
|
83 |
int |
int |
84 |
snd_seq_oss_write(seq_oss_devinfo_t *dp, const char *buf, int count, struct file *opt) |
snd_seq_oss_write(seq_oss_devinfo_t *dp, const char __user *buf, int count, struct file *opt) |
85 |
{ |
{ |
86 |
int rc, c, p, ev_size; |
int rc, c, p, ev_size; |
87 |
evrec_t rec; |
evrec_t rec; |