[PATCH v4 2/5] iommu: qcom-smmu: add missing linux/bug.h header for WARN_ON
Christian Marangi
ansuelsmth at gmail.com
Sat Jun 7 23:11:18 CEST 2025
The WARN macro requires inclusion of linux/bug.h header. It does
currently work as bitfield.h includes it indirectly but this will
change when bitfield.h will be synced with new Linux version.
Explicitly include the header to fix future compilation error.
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
drivers/iommu/qcom-hyp-smmu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iommu/qcom-hyp-smmu.c b/drivers/iommu/qcom-hyp-smmu.c
index c1b95bc8b8c..2e51ce4f242 100644
--- a/drivers/iommu/qcom-hyp-smmu.c
+++ b/drivers/iommu/qcom-hyp-smmu.c
@@ -11,6 +11,7 @@
#include <dm.h>
#include <iommu.h>
#include <linux/bitfield.h>
+#include <linux/bug.h>
#include <linux/list.h>
#include <linux/err.h>
#include <lmb.h>
--
2.48.1
More information about the U-Boot
mailing list