[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200428181010.170568-1-swboyd@chromium.org>
Date: Tue, 28 Apr 2020 11:10:08 -0700
From: Stephen Boyd <swboyd@...omium.org>
To: Mathieu Poirier <mathieu.poirier@...aro.org>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Suzuki K Poulose <suzuki.poulose@....com>,
Mike Leach <mike.leach@...aro.org>,
Douglas Anderson <dianders@...omium.org>
Subject: [PATCH v2 0/2] Minor sparse and style fixes
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 linux-next.
Cc: Suzuki K Poulose <suzuki.poulose@....com>
Cc: Mike Leach <mike.leach@...aro.org>
Cc: Douglas Anderson <dianders@...omium.org>
Changes from v1:
* Dropped patches that were applied
* Added more includes to cti.c and priv.h
Stephen Boyd (2):
coresight: Include required headers in C files
coresight: Avoid casting void pointers
.../hwtracing/coresight/coresight-cti-platform.c | 8 +++++++-
drivers/hwtracing/coresight/coresight-cti-sysfs.c | 7 +++++++
drivers/hwtracing/coresight/coresight-cti.c | 13 +++++++++++++
drivers/hwtracing/coresight/coresight-cti.h | 8 +++++++-
drivers/hwtracing/coresight/coresight-priv.h | 9 ++++++---
5 files changed, 40 insertions(+), 5 deletions(-)
base-commit: 62eb0c79662ccb3c09c3724d0d4df2501cb8277c
--
Sent by a computer, using git, on the internet
Powered by blists - more mailing lists