static struct gs_buf *gs_buf_alloc(unsigned int size, int kmalloc_flags) 
static struct gs_buf *gs_buf_alloc(unsigned int size, unsigned kmalloc_flags) 
static struct gs_buf *gs_buf_alloc(unsigned int size, int kmalloc_flags){	struct gs_buf *gb;	if (size == 0)		return NULL;	gb = (struct gs_buf *)kmalloc(sizeof(struct gs_buf), kmalloc_flags);	if (gb == NULL)		return NULL;	gb->buf_buf = kmalloc(size, kmalloc_flags);	if (gb->buf_buf == NULL) {		kfree(gb);		return NULL;	}	gb->buf_size = size;	gb->buf_get = gb->buf_put = gb->buf_buf;	return gb;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/1bbc169621cbe502b9143a27eb12802a0f1d43a0/serial.c/buggy/drivers/usb/gadget/serial.c