Message ID | 20190311104818.30216-9-hdegoede@redhat.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | bb31b352510be206d2797b2225e6ae37ff567c8e |
Headers | show |
Series | usb: typec: fusb302: Various fixes | expand |
diff --git a/drivers/usb/typec/tcpm/fusb302.c b/drivers/usb/typec/tcpm/fusb302.c index f3b66dc71c33..6ea6199caafa 100644 --- a/drivers/usb/typec/tcpm/fusb302.c +++ b/drivers/usb/typec/tcpm/fusb302.c @@ -125,13 +125,13 @@ struct fusb302_chip { */ #ifdef CONFIG_DEBUG_FS - static bool fusb302_log_full(struct fusb302_chip *chip) { return chip->logbuffer_tail == (chip->logbuffer_head + 1) % LOG_BUFFER_ENTRIES; } +__printf(2, 0) static void _fusb302_log(struct fusb302_chip *chip, const char *fmt, va_list args) {