lkml.org 
[lkml]   [2020]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] coresight: Minor sparse and style fixes
Date
I got a report that kcalloc() didn't exist in coresight-cti-platform.c
on arm builds and that looked like we didn't include very many headers
to get prototypes of functions like kcalloc(), etc. The first patch fixes
this problem by including the headers and then the rest of these
patches fix minor sparse and style issues that I saw while looking
through the coresight directory.

Pathes based on v5.7-rc1.

Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Douglas Anderson <dianders@chromium.org>

Stephen Boyd (5):
coresight: Include required headers in C files
coresight: Mark some functions static
coresight: Don't initialize variables unnecessarily
coresight: Initialize arg in sparse friendly way
coresight: Avoid casting void pointers

.../coresight/coresight-cti-platform.c | 11 ++++++++---
.../hwtracing/coresight/coresight-cti-sysfs.c | 17 ++++++++++++-----
drivers/hwtracing/coresight/coresight-cti.c | 6 +++---
drivers/hwtracing/coresight/coresight-cti.h | 10 +++++++++-
drivers/hwtracing/coresight/coresight-etb10.c | 2 +-
drivers/hwtracing/coresight/coresight-etm3x.c | 2 +-
drivers/hwtracing/coresight/coresight-etm4x.c | 2 +-
.../hwtracing/coresight/coresight-platform.c | 4 ++--
drivers/hwtracing/coresight/coresight-priv.h | 9 ++++++---
drivers/hwtracing/coresight/coresight-tmc.c | 2 +-
10 files changed, 44 insertions(+), 21 deletions(-)


base-commit: 8f3d9f354286745c751374f5f1fcafee6b3f3136
--
Sent by a computer, using git, on the internet

\
 
 \ /
  Last update: 2020-04-26 20:58    [W:0.073 / U:3.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site