linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] coresight: Dismiss smatch warnings
@ 2025-06-11 14:44 Leo Yan
  2025-06-11 14:44 ` [PATCH 1/2] coresight: stm: Remove redundant NULL checks Leo Yan
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Leo Yan @ 2025-06-11 14:44 UTC (permalink / raw)
  To: Suzuki K Poulose, Mike Leach, James Clark
  Cc: coresight, linux-arm-kernel, Leo Yan

This series polishes the code to address warnings reported by the smatch
static checker.

Smatch reports a error "Function too hairy" for etm4x_sysreg_read() and
etm4x_sysreg_write(). This is a trade off to avoid large code blocks,
the implementation encapsulates logic using nested macros. But this is
not friendly to static checker. For now, the code will be kept as is.

Signed-off-by: Leo Yan <leo.yan@arm.com>
---
Leo Yan (2):
      coresight: stm: Remove redundant NULL checks
      coresight: perf: Use %px for printing pointers

 drivers/hwtracing/coresight/coresight-etm-perf.c | 4 ++--
 drivers/hwtracing/coresight/coresight-stm.c      | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)
---
base-commit: 408c97c4a5e0b634dcd15bf8b8808b382e888164
change-id: 20250611-arm_cs_fix_smatch_warning_v1-6c2b5e78e38a

Best regards,
-- 
Leo Yan <leo.yan@arm.com>



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-07-10 14:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-11 14:44 [PATCH 0/2] coresight: Dismiss smatch warnings Leo Yan
2025-06-11 14:44 ` [PATCH 1/2] coresight: stm: Remove redundant NULL checks Leo Yan
2025-06-12  5:18   ` Anshuman Khandual
2025-06-12  8:28     ` Mike Leach
2025-06-12  9:19       ` Leo Yan
2025-06-11 14:44 ` [PATCH 2/2] coresight: perf: Use %px for printing pointers Leo Yan
2025-06-12  5:44   ` Anshuman Khandual
2025-06-12  9:11     ` Leo Yan
2025-07-10 12:35 ` [PATCH 0/2] coresight: Dismiss smatch warnings Suzuki K Poulose

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).