[PATCH 3/4] usb: gadget: u_uac1: add __user annotation

2013-08-04 Thread Jingoo Han
Added __user annotation to fix the following sparse warning. drivers/usb/gadget/u_uac1.c:194:52: warning: incorrect type in argument 2 (different address spaces) drivers/usb/gadget/u_uac1.c:194:52:expected void const [noderef] asn:1*buf drivers/usb/gadget/u_uac1.c:194:52:got void *buf

Re: [PATCH 3/4] usb: gadget: u_uac1: add __user annotation

2013-08-04 Thread Jassi Brar
On 5 August 2013 08:44, Jingoo Han jg1@samsung.com wrote: Added __user annotation to fix the following sparse warning. drivers/usb/gadget/u_uac1.c:194:52: warning: incorrect type in argument 2 (different address spaces) drivers/usb/gadget/u_uac1.c:194:52:expected void const [noderef]