diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-06-22 14:20:29 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 07:13:23 -0300 |
commit | b0ba0e3ab6f452321771325b7b5578f9a804f69e (patch) | |
tree | f247b63852e87c4f438888f4c1f0039fe1e48483 /drivers/media/dvb/dvb-core/dmxdev.c | |
parent | 67778b322780200ac14e95c8089a0bd679a467d9 (diff) | |
download | linux-b0ba0e3ab6f452321771325b7b5578f9a804f69e.tar.gz linux-b0ba0e3ab6f452321771325b7b5578f9a804f69e.tar.bz2 linux-b0ba0e3ab6f452321771325b7b5578f9a804f69e.zip |
V4L/DVB (8130): split dvb_ringbuffer dual-use functions
split the suckers into kernel-memory and user-memory versions,
annotate both properly.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-core/dmxdev.c')
-rw-r--r-- | drivers/media/dvb/dvb-core/dmxdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-core/dmxdev.c b/drivers/media/dvb/dvb-core/dmxdev.c index df5bef6a2517..1cf9fcb6f514 100644 --- a/drivers/media/dvb/dvb-core/dmxdev.c +++ b/drivers/media/dvb/dvb-core/dmxdev.c @@ -96,7 +96,7 @@ static ssize_t dvb_dmxdev_buffer_read(struct dvb_ringbuffer *src, if (avail > todo) avail = todo; - ret = dvb_ringbuffer_read(src, (u8 *)buf, avail, 1); + ret = dvb_ringbuffer_read_user(src, buf, avail); if (ret < 0) break; |