if (copy_to_user((struct ca_caps *)arg, p_ca_caps, sizeof (struct ca_caps))) 
if (copy_to_user(arg, p_ca_caps, sizeof (struct ca_caps))) 
static int ca_get_slot_caps(struct dst_state *state, struct ca_caps *p_ca_caps, void *arg){	int i;	u8 slot_cap[256];	static u8 slot_command[8] = {0x07, 0x40, 0x02, 0x00, 0x02, 0x00, 0x00, 0xff};	put_checksum(&slot_command[0], slot_command[0]);	if ((dst_put_ci(state, slot_command, sizeof (slot_command), slot_cap, GET_REPLY)) < 0) {		dprintk(verbose, DST_CA_ERROR, 1, " -->dst_put_ci FAILED !");		return -1;	}	dprintk(verbose, DST_CA_NOTICE, 1, " -->dst_put_ci SUCCESS !");	/*	Will implement the rest soon		*/	dprintk(verbose, DST_CA_INFO, 1, " Slot cap = [%d]", slot_cap[7]);	dprintk(verbose, DST_CA_INFO, 0, "===================================\n");	for (i = 0; i < 8; i++)		dprintk(verbose, DST_CA_INFO, 0, " %d", slot_cap[i]);	dprintk(verbose, DST_CA_INFO, 0, "\n");	p_ca_caps->slot_num = 1;	p_ca_caps->slot_type = 1;	p_ca_caps->descr_num = slot_cap[7];	p_ca_caps->descr_type = 1;	if (copy_to_user((struct ca_caps *)arg, p_ca_caps, sizeof (struct ca_caps)))		return -EFAULT;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/174f80dfcba45677f12ba57479d03750dd9cad7b/dst_ca.c/clean/drivers/media/dvb/bt8xx/dst_ca.c