linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Minor sparse and style fixes
@ 2020-04-28 18:10 Stephen Boyd
  2020-04-28 18:10 ` [PATCH v2 1/2] coresight: Include required headers in C files Stephen Boyd
  2020-04-28 18:10 ` [PATCH v2 2/2] coresight: Avoid casting void pointers Stephen Boyd
  0 siblings, 2 replies; 9+ messages in thread
From: Stephen Boyd @ 2020-04-28 18:10 UTC (permalink / raw)
  To: Mathieu Poirier
  Cc: Douglas Anderson, Mike Leach, linux-kernel, linux-arm-kernel,
	Suzuki K Poulose

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@arm.com> 
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Douglas Anderson <dianders@chromium.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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-05-04 16:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-28 18:10 [PATCH v2 0/2] Minor sparse and style fixes Stephen Boyd
2020-04-28 18:10 ` [PATCH v2 1/2] coresight: Include required headers in C files Stephen Boyd
2020-04-29 18:08   ` Mathieu Poirier
2020-04-29 18:31     ` Stephen Boyd
2020-04-29 19:24       ` Mathieu Poirier
2020-05-03 18:04         ` Stephen Boyd
2020-05-04 16:49           ` Mathieu Poirier
2020-04-28 18:10 ` [PATCH v2 2/2] coresight: Avoid casting void pointers Stephen Boyd
2020-04-28 20:58   ` Mike Leach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).