Skip to content

Minor sparse and style fixes

Stephen Boyd linux-arm-kernel lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 6 repliesIn review
  2. v15 patches 4 repliesSuperseded

Changes in v2 from the cover letter

* Dropped patches that were applied
* Added more includes to cti.c and priv.h

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2coresight: Include required headers in C filesdrivers/hwtracing/coresight/coresight-cti-platform.c drivers/hwtracing/coresight/coresight-cti-sysfs.c drivers/hwtracing/coresight/coresight-cti.c +1 more+34 -25 replies
2/2coresight: Avoid casting void pointersdrivers/hwtracing/coresight/coresight-priv.h+6 -31 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchJoe Perches
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [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 <[email protected]>
Cc Mike Leach <[email protected]>
Cc Douglas Anderson <[email protected]>

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

Signature · 1 line
Sent by a computer, using git, on the internet