diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-12-27 00:43:05 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-12-27 00:43:05 +0000 |
commit | bf51585b8bd4afe11a1513f6e3fa2431af94e6e4 (patch) | |
tree | 58d86610896c5b2a1f1e797841bdc4d563a14353 /linux/drivers | |
parent | d52ce1e45c78c3208370c4da4683bdb929bdb3ce (diff) | |
download | mediapointer-dvb-s2-bf51585b8bd4afe11a1513f6e3fa2431af94e6e4.tar.gz mediapointer-dvb-s2-bf51585b8bd4afe11a1513f6e3fa2431af94e6e4.tar.bz2 |
dst_ca __user annotations, portability fixes
From: Al Viro <viro@zeniv.linux.org.uk>
kernel-sync
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/dvb/bt8xx/dst_ca.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dst_ca.c b/linux/drivers/media/dvb/bt8xx/dst_ca.c index 18e215753..ad3970505 100644 --- a/linux/drivers/media/dvb/bt8xx/dst_ca.c +++ b/linux/drivers/media/dvb/bt8xx/dst_ca.c @@ -407,7 +407,7 @@ static int ca_send_message(struct dst_state *state, struct ca_msg *p_ca_message, } dprintk(verbose, DST_CA_DEBUG, 1, " "); - if (copy_from_user(p_ca_message, (void *)arg, sizeof (struct ca_msg))) { + if (copy_from_user(p_ca_message, arg, sizeof (struct ca_msg))) { result = -EFAULT; goto free_mem_and_exit; } |