* [PATCH] coresight: Fix missing include for FIELD_GET
@ 2025-07-07 9:55 James Clark
2025-07-09 10:30 ` Suzuki K Poulose
0 siblings, 1 reply; 2+ messages in thread
From: James Clark @ 2025-07-07 9:55 UTC (permalink / raw)
To: Suzuki K Poulose, Mike Leach, Alexander Shishkin, Yeoreum Yun,
Leo Yan, Naresh Kamboju, Greg Kroah-Hartman
Cc: coresight, linux-arm-kernel, linux-kernel,
Linux Kernel Functional Testing, James Clark
Include the header for FIELD_GET which is only sometimes transitively
included on some configs and kernel releases.
Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
Closes: https://lists.linaro.org/archives/list/lkft-triage@lists.linaro.org/thread/6GKMK52PPRJVEYMEUHJP6BXF4CJAXOFL/
Fixes: a4e65842e114 ("coresight: Only check bottom two claim bits")
Signed-off-by: James Clark <james.clark@linaro.org>
---
drivers/hwtracing/coresight/coresight-core.c | 1 +
drivers/hwtracing/coresight/coresight-etm4x-core.c | 1 +
drivers/hwtracing/coresight/coresight-etm4x-sysfs.c | 1 +
drivers/hwtracing/coresight/ultrasoc-smb.h | 1 +
4 files changed, 4 insertions(+)
diff --git a/drivers/hwtracing/coresight/coresight-core.c b/drivers/hwtracing/coresight/coresight-core.c
index fa758cc21827..c2db94f2ab23 100644
--- a/drivers/hwtracing/coresight/coresight-core.c
+++ b/drivers/hwtracing/coresight/coresight-core.c
@@ -3,6 +3,7 @@
* Copyright (c) 2012, The Linux Foundation. All rights reserved.
*/
+#include <linux/bitfield.h>
#include <linux/build_bug.h>
#include <linux/kernel.h>
#include <linux/init.h>
diff --git a/drivers/hwtracing/coresight/coresight-etm4x-core.c b/drivers/hwtracing/coresight/coresight-etm4x-core.c
index 42e5d37403ad..cbea200489c8 100644
--- a/drivers/hwtracing/coresight/coresight-etm4x-core.c
+++ b/drivers/hwtracing/coresight/coresight-etm4x-core.c
@@ -4,6 +4,7 @@
*/
#include <linux/acpi.h>
+#include <linux/bitfield.h>
#include <linux/bitops.h>
#include <linux/kernel.h>
#include <linux/kvm_host.h>
diff --git a/drivers/hwtracing/coresight/coresight-etm4x-sysfs.c b/drivers/hwtracing/coresight/coresight-etm4x-sysfs.c
index ab251865b893..e9eeea6240d5 100644
--- a/drivers/hwtracing/coresight/coresight-etm4x-sysfs.c
+++ b/drivers/hwtracing/coresight/coresight-etm4x-sysfs.c
@@ -4,6 +4,7 @@
* Author: Mathieu Poirier <mathieu.poirier@linaro.org>
*/
+#include <linux/bitfield.h>
#include <linux/coresight.h>
#include <linux/pid_namespace.h>
#include <linux/pm_runtime.h>
diff --git a/drivers/hwtracing/coresight/ultrasoc-smb.h b/drivers/hwtracing/coresight/ultrasoc-smb.h
index c4c111275627..323f0ccb6878 100644
--- a/drivers/hwtracing/coresight/ultrasoc-smb.h
+++ b/drivers/hwtracing/coresight/ultrasoc-smb.h
@@ -7,6 +7,7 @@
#ifndef _ULTRASOC_SMB_H
#define _ULTRASOC_SMB_H
+#include <linux/bitfield.h>
#include <linux/miscdevice.h>
#include <linux/spinlock.h>
---
base-commit: 408c97c4a5e0b634dcd15bf8b8808b382e888164
change-id: 20250707-james-coresight-bitfield-include-03d14f5369f2
Best regards,
--
James Clark <james.clark@linaro.org>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] coresight: Fix missing include for FIELD_GET
2025-07-07 9:55 [PATCH] coresight: Fix missing include for FIELD_GET James Clark
@ 2025-07-09 10:30 ` Suzuki K Poulose
0 siblings, 0 replies; 2+ messages in thread
From: Suzuki K Poulose @ 2025-07-09 10:30 UTC (permalink / raw)
To: Mike Leach, Alexander Shishkin, Yeoreum Yun, Leo Yan,
Naresh Kamboju, Greg Kroah-Hartman, James Clark
Cc: Suzuki K Poulose, coresight, linux-arm-kernel, linux-kernel,
Linux Kernel Functional Testing
On Mon, 07 Jul 2025 10:55:27 +0100, James Clark wrote:
> Include the header for FIELD_GET which is only sometimes transitively
> included on some configs and kernel releases.
>
>
Applied, thanks!
[1/1] coresight: Fix missing include for FIELD_GET
https://git.kernel.org/coresight/c/82e20f5e
Best regards,
--
Suzuki K Poulose <suzuki.poulose@arm.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-09 12:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-07 9:55 [PATCH] coresight: Fix missing include for FIELD_GET James Clark
2025-07-09 10:30 ` Suzuki K Poulose
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).