]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
coresight: Fix missing include for FIELD_GET
authorJames Clark <james.clark@linaro.org>
Mon, 7 Jul 2025 09:55:27 +0000 (10:55 +0100)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Tue, 2 Sep 2025 08:12:58 +0000 (09:12 +0100)
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>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20250707-james-coresight-bitfield-include-v1-1-aa0f4220ecfd@linaro.org
drivers/hwtracing/coresight/coresight-core.c
drivers/hwtracing/coresight/coresight-etm4x-core.c
drivers/hwtracing/coresight/coresight-etm4x-sysfs.c
drivers/hwtracing/coresight/ultrasoc-smb.h

index fa758cc21827552a5c97b6bdd05d22dec4994b22..c2db94f2ab2378d7084e7fc2b4f23a66e8b1c1f4 100644 (file)
@@ -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>
index 42e5d37403addc6ec81f2e3184522d67d1677c04..cbea200489c8f3676d08c6bc6334ecd71d2569ca 100644 (file)
@@ -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>
index ab251865b893d8f24544b1fe302163025d6382b7..e9eeea6240d55782667412a1dafec4be5be74b15 100644 (file)
@@ -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>
index c4c111275627b1d662a9adc82058008e73527a28..323f0ccb6878cb288a85cb1e875ac0196cfd15ac 100644 (file)
@@ -7,6 +7,7 @@
 #ifndef _ULTRASOC_SMB_H
 #define _ULTRASOC_SMB_H
 
+#include <linux/bitfield.h>
 #include <linux/miscdevice.h>
 #include <linux/spinlock.h>