int zd1201_drvr_start(struct zd1201 *zd) 
static int zd1201_drvr_start(struct zd1201 *zd) 
int zd1201_drvr_start(struct zd1201 *zd){	int err, i;	short max;	__le16 zdmax;	unsigned char *buffer;		buffer = kmalloc(ZD1201_RXSIZE, GFP_KERNEL);	if (!buffer)		return -ENOMEM;	memset(buffer, 0, ZD1201_RXSIZE);	usb_fill_bulk_urb(zd->rx_urb, zd->usb, 	    usb_rcvbulkpipe(zd->usb, zd->endp_in), buffer, ZD1201_RXSIZE,	    zd1201_usbrx, zd);	err = usb_submit_urb(zd->rx_urb, GFP_KERNEL);	if (err)		goto err_buffer;		err = zd1201_docmd(zd, ZD1201_CMDCODE_INIT, 0, 0, 0);	if (err)		goto err_urb;	err = zd1201_getconfig(zd, ZD1201_RID_CNFMAXTXBUFFERNUMBER, &zdmax,	    sizeof(__le16));	if (err)		goto err_urb;	max = le16_to_cpu(zdmax);	for (i=0; i<max; i++) {		err = zd1201_docmd(zd, ZD1201_CMDCODE_ALLOC, 1514, 0, 0);		if (err)			goto err_urb;	}	return 0;err_urb:	usb_kill_urb(zd->rx_urb);	return err;err_buffer:	kfree(buffer);	return err;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/2e0a6b8cd27375089f8356e7f1ce2319059696eb/zd1201.c/buggy/drivers/usb/net/zd1201.c