serport = kcalloc(1, sizeof(struct serport), GFP_KERNEL); 
serport = kzalloc(sizeof(struct serport), GFP_KERNEL); 
static int serport_ldisc_open(struct tty_struct *tty){	struct serport *serport;	if (!capable(CAP_SYS_ADMIN))		return -EPERM;	serport = kcalloc(1, sizeof(struct serport), GFP_KERNEL);	if (!serport)		return -ENOMEM;	serport->tty = tty;	spin_lock_init(&serport->lock);	init_waitqueue_head(&serport->wait);	tty->disc_data = serport;	set_bit(TTY_DO_WRITE_WAKEUP, &tty->flags);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a97e148a8b8da8b04bc3e18ceb824a8f5f56d567/serport.c/clean/drivers/input/serio/serport.c