mbox series

[0/3] Fixed some issues and cleanup of ultrasoc-smb

Message ID 20231012094706.21565-1-hejunhao3@huawei.com (mailing list archive)
Headers show
Series Fixed some issues and cleanup of ultrasoc-smb | expand

Message

Junhao He Oct. 12, 2023, 9:47 a.m. UTC
Fix the two issues listed below and code cleanup
a) Fixed the BUG of atomic-sleep
b) Fixed uninitialized before use buf_hw_base

Junhao He (3):
  coresight: ultrasoc-smb: fix sleep while close preempt in enable_smb
  coresight: ultrasoc-smb: simplify the code for check to_copy valid
  coresight: ultrasoc-smb: fix uninitialized before use buf_hw_base

 drivers/hwtracing/coresight/ultrasoc-smb.c | 49 +++++++++-------------
 drivers/hwtracing/coresight/ultrasoc-smb.h |  6 +--
 2 files changed, 23 insertions(+), 32 deletions(-)