xiaoxiang781216 commented on code in PR #6632:
URL: https://github.com/apache/incubator-nuttx/pull/6632#discussion_r922775117


##########
include/nuttx/usb/usbdev_trace.h:
##########
@@ -419,7 +419,7 @@ typedef uint16_t usbtrace_idset_t;
 
 /* Print routine to use for usbdev_trprint() output */
 
-typedef CODE int (*trprintf_t)(const char *fmt, ...);
+typedef CODE int (*trprintf_t)(const char *fmt, ...) printflike(1, 2);

Review Comment:
   The compiler doesn't report the error, so it should be applicable.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to