commit | e135ab7405f562c7709806e355b1521ee68548dc | [log] [tgz] |
---|---|---|
author | Nicolas Iooss <nicolas.iooss_linux@m4x.org> | Sun Jun 26 10:12:38 2016 +0200 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Wed Jun 29 11:11:07 2016 +0300 |
tree | 701174279d1c5fe88eb58e9e877af40ff657d9b3 | |
parent | 0d7995031a8e7a34e5638d57a44a51aae39e321c [diff] |
usb: dwc2: add printf attribute to cat_printf() 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 <nicolas.iooss_linux@m4x.org> Acked-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>