dbg("Get %d bytes...", count); memcpy(acm->write_buffer, buf, count); dbg("  Successfully copied.\n");  acm->writeurb->transfer_buffer_length = count; acm->writeurb->dev = acm->dev;  acm->ready_for_write = 0; stat = usb_submit_urb(acm->writeurb, GFP_ATOMIC); if (stat < 0) { dbg("usb_submit_urb(write bulk) failed"); acm->ready_for_write = 1; 
if ((stat = acm_write_start(acm)) < 0) 
static int acm_tty_write(struct tty_struct *tty, const unsigned char *buf, int count){	struct acm *acm = tty->driver_data;	int stat;	dbg("Entering acm_tty_write to write %d bytes,\n", count);	if (!ACM_READY(acm))		return -EINVAL;	if (!acm->ready_for_write)		return 0;	if (!count)		return 0;	count = (count > acm->writesize) ? acm->writesize : count;	dbg("Get %d bytes...", count);	memcpy(acm->write_buffer, buf, count);	dbg("  Successfully copied.\n");	acm->writeurb->transfer_buffer_length = count;	acm->writeurb->dev = acm->dev;	acm->ready_for_write = 0;	stat = usb_submit_urb(acm->writeurb, GFP_ATOMIC);	if (stat < 0) {		dbg("usb_submit_urb(write bulk) failed");		acm->ready_for_write = 1;		return stat;	}	return count;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/884b600f63dc7c646f415a5d8f356df1f66ff6f2/cdc-acm.c/clean/drivers/usb/class/cdc-acm.c