usb: dwc3: change some trace event __dynamic_array() to __get_buf()
authorLinyu Yuan <quic_linyyuan@quicinc.com>
Mon, 27 Feb 2023 02:44:09 +0000 (10:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2023 14:35:03 +0000 (15:35 +0100)
commitf09d24aa463c51672ff37462fed17eff824b8b18
tree0397426b618f3b199230ddee3797d123a6375e83
parent47ebfd604f9b48e44d2f88caf527180463a2fb2c
usb: dwc3: 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>
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/1677465850-1396-4-git-send-email-quic_linyyuan@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/trace.h