static int put_checksum(u8 *check_string, int length) 
static void put_checksum(u8 *check_string, int length) 
static int put_checksum(u8 *check_string, int length){	u8 i = 0, checksum = 0;	dprintk(verbose, DST_CA_DEBUG, 1, " ========================= Checksum calculation ===========================");	dprintk(verbose, DST_CA_DEBUG, 1, " String Length=[0x%02x]", length);	dprintk(verbose, DST_CA_DEBUG, 1, " String=[");	while (i < length) {		dprintk(verbose, DST_CA_DEBUG, 0, " %02x", check_string[i]);		checksum += check_string[i];		i++;	}	dprintk(verbose, DST_CA_DEBUG, 0, " ]\n");	dprintk(verbose, DST_CA_DEBUG, 1, "Sum=[%02x]\n", checksum);	check_string[length] = ~checksum + 1;	dprintk(verbose, DST_CA_DEBUG, 1, " Checksum=[%02x]", check_string[length]);	dprintk(verbose, DST_CA_DEBUG, 1, " ==========================================================================");	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/4fbbc7ee591ab19707d12e2f86a1ae11f7195423/dst_ca.c/buggy/drivers/media/dvb/bt8xx/dst_ca.c