Skip to content

Commit 50931ba

Browse files
pawellcdnsgregkh
authored andcommitted
usb: cdnsp: Fix issue in cdnsp_log_ep trace event
Patch fixes incorrect order of __entry->stream_id and __entry->state parameters in TP_printk macro. Fixes: 3d82904 ("usb: cdnsp: cdns3 Add main part of Cadence USBSSP DRD Driver") cc: <stable@vger.kernel.org> Reviewed-by: Peter Chen <peter.chen@kernel.org> Signed-off-by: Pawel Laszczak <pawell@cadence.com> Link: https://lore.kernel.org/r/20211213050609.22640-1-pawell@gli-login.cadence.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 16f00d9 commit 50931ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/usb/cdns3/cdnsp-trace.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ DECLARE_EVENT_CLASS(cdnsp_log_ep,
5757
__entry->first_prime_det = pep->stream_info.first_prime_det;
5858
__entry->drbls_count = pep->stream_info.drbls_count;
5959
),
60-
TP_printk("%s: SID: %08x ep state: %x stream: enabled: %d num %d "
60+
TP_printk("%s: SID: %08x, ep state: %x, stream: enabled: %d num %d "
6161
"tds %d, first prime: %d drbls %d",
62-
__get_str(name), __entry->state, __entry->stream_id,
62+
__get_str(name), __entry->stream_id, __entry->state,
6363
__entry->enabled, __entry->num_streams, __entry->td_count,
6464
__entry->first_prime_det, __entry->drbls_count)
6565
);

0 commit comments

Comments
 (0)