coresight: Replace sprintf with scnprintf + bug fix
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | coresight: Replace sprintf with scnprintfdrivers/ drivers/ drivers/ +3 more | +39 | 0 replies | |
| 2/2 | coresight: etm3x: Correctly output counter values in sysfs nodedrivers/ | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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