Skip to content

coresight: Replace sprintf with scnprintf + bug fix

Olav Haugan linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2coresight: Replace sprintf with scnprintfdrivers/hwtracing/coresight/coresight-etb10.c drivers/hwtracing/coresight/coresight-etm-perf.c drivers/hwtracing/coresight/coresight-etm3x-sysfs.c +3 more+39 -390 replies
2/2coresight: etm3x: Correctly output counter values in sysfs nodedrivers/hwtracing/coresight/coresight-etm3x-sysfs.c+14 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] coresight: Replace sprintf with scnprintf + bug fix

Replaced all occurrences of s{n}printf with scnprintf for consistency across coresight files.
While doing that found a bug in one of the show functions which I also fixed (second patch).

Olav Haugan (2):
coresight: Replace sprintf with scnprintf
coresight: etm3x: Correctly output counter values in sysfs node

 drivers/hwtracing/coresight/coresight-etb10.c      |  2 +-
 drivers/hwtracing/coresight/coresight-etm-perf.c   |  2 +-
 .../hwtracing/coresight/coresight-etm3x-sysfs.c    | 80 ++++++++++++----------
 drivers/hwtracing/coresight/coresight-funnel.c     |  4 +-
 drivers/hwtracing/coresight/coresight-stm.c        |  2 +-
 drivers/hwtracing/coresight/coresight-tmc.c        |  2 +-
 6 files changed, 51 insertions(+), 41 deletions(-)
Signature · 1 line
2.11.0