usb: xhci: change some trace event __dynamic_array() to __get_buf()
authorLinyu Yuan <quic_linyyuan@quicinc.com>
Mon, 27 Feb 2023 02:44:10 +0000 (10:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2023 14:35:03 +0000 (15:35 +0100)
commit7d1a898f52288f068f163aa970f029872c21c031
treeda02b277334baf09f5e4878b341f1a710b4fe18e
parentf09d24aa463c51672ff37462fed17eff824b8b18
usb: xhci: change some trace event __dynamic_array() to __get_buf()

some __dynamic_array() buffer will only used at trace event output time,
change to __get_buf() which will allocate tempary trace seq buffer for
output purpose.

Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com>
Link: https://lore.kernel.org/r/1677465850-1396-5-git-send-email-quic_linyyuan@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-trace.h