linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] Coresight: Fixes for 5.15-rc1
@ 2021-09-13 16:46 Mathieu Poirier
  2021-09-13 16:46 ` [PATCH 1/1] coresight: syscfg: Fix compiler warning Mathieu Poirier
  0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Poirier @ 2021-09-13 16:46 UTC (permalink / raw)
  To: gregkh; +Cc: jiancai, linux-arm-kernel, linux-kernel

Hi Greg,

Please consider when you have a minute - applies cleanly to
char-misc-linus (6880fa6c5660).

Thanks,
Mathieu 

Jian Cai (1):
  coresight: syscfg: Fix compiler warning

 drivers/hwtracing/coresight/coresight-syscfg.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.25.1


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

* [PATCH 1/1] coresight: syscfg: Fix compiler warning
  2021-09-13 16:46 [PATCH 0/1] Coresight: Fixes for 5.15-rc1 Mathieu Poirier
@ 2021-09-13 16:46 ` Mathieu Poirier
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Poirier @ 2021-09-13 16:46 UTC (permalink / raw)
  To: gregkh; +Cc: jiancai, linux-arm-kernel, linux-kernel

From: Jian Cai <jiancai@google.com>

This fixes warnings with -Wimplicit-function-declaration, e.g.

drivers/hwtracing/coresight/coresight-syscfg.c:455:15: error:
implicit declaration of function 'kzalloc' [-Werror,
-Wimplicit-function-declaration]
        csdev_item = kzalloc(sizeof(struct cscfg_registered_csdev),
                             GFP_KERNEL);

Fixes: 85e2414c518a ("coresight: syscfg: Initial coresight system configuration")
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jian Cai <jiancai@google.com>
Link: https://lore.kernel.org/r/20210830172820.2840433-1-jiancai@google.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
---
 drivers/hwtracing/coresight/coresight-syscfg.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/hwtracing/coresight/coresight-syscfg.c b/drivers/hwtracing/coresight/coresight-syscfg.c
index fc0760f55c53..43054568430f 100644
--- a/drivers/hwtracing/coresight/coresight-syscfg.c
+++ b/drivers/hwtracing/coresight/coresight-syscfg.c
@@ -5,6 +5,7 @@
  */
 
 #include <linux/platform_device.h>
+#include <linux/slab.h>
 
 #include "coresight-config.h"
 #include "coresight-etm-perf.h"
-- 
2.25.1


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

end of thread, other threads:[~2021-09-13 16:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-13 16:46 [PATCH 0/1] Coresight: Fixes for 5.15-rc1 Mathieu Poirier
2021-09-13 16:46 ` [PATCH 1/1] coresight: syscfg: Fix compiler warning Mathieu Poirier

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).