Re: [PATCH 1/1] usb: dwc2: add printf attribute to cat_printf()

2016-06-27 Thread John Youn
On 6/26/2016 1:12 AM, Nicolas Iooss wrote: > As cat_printf() uses printf format strings in its parameters, adding > __printf attribute allows the compiler to detect at compile-time some > errors related to format strings (with -Wformat warning flag). > > Signed-off-by: Nicolas Iooss > --- > driv

[PATCH 1/1] usb: dwc2: add printf attribute to cat_printf()

2016-06-26 Thread Nicolas Iooss
As cat_printf() uses printf format strings in its parameters, adding __printf attribute allows the compiler to detect at compile-time some errors related to format strings (with -Wformat warning flag). Signed-off-by: Nicolas Iooss --- drivers/usb/dwc2/hcd_queue.c | 3 ++- 1 file changed, 2 inser