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

Olav Haugan ohaugan at codeaurora.org
Tue Feb 14 18:20:27 PST 2017


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(-)

-- 
2.11.0




More information about the linux-arm-kernel mailing list