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 <ansuels...@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