[PATCH 0/2] coresight: Replace sprintf with scnprintf + bug fix
Mathieu Poirier
mathieu.poirier at linaro.org
Wed Feb 15 10:59:59 PST 2017
On 14 February 2017 at 19:20, Olav Haugan <ohaugan at codeaurora.org> wrote:
> 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(-)
>
I have applied both patches - thanks,
Mathieu
> --
> 2.11.0
>
More information about the linux-arm-kernel
mailing list