[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250114160630.1122885-1-robert.marko@sartura.hr>
Date: Tue, 14 Jan 2025 17:05:56 +0100
From: Robert Marko <robert.marko@...tura.hr>
To: will@...nel.org,
robin.murphy@....com,
joro@...tes.org,
jgg@...pe.ca,
nicolinc@...dia.com,
linux-arm-kernel@...ts.infradead.org,
iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org
Cc: luka.perkov@...tura.hr,
Robert Marko <robert.marko@...tura.hr>,
kernel test robot <lkp@...el.com>
Subject: [PATCH] iommu/arm-smmu-v3: add missing header
str_read_write is currently undeclared and thus compilation will fail with:
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:1911:25: error: implicit declaration of function ‘str_read_write’; did you mean ‘sb_end_write’? [-Wimplicit-function-declaration]
So include the missing linux/string_choices.h header to fix compilation.
Fixes: f2c77f6e41e6 ("iommu/arm-smmu-v3: Use str_read_write helper w/ logs")
Reported-by: kernel test robot <lkp@...el.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202501111926.qOpnlK9J-lkp@intel.com/
Signed-off-by: Robert Marko <robert.marko@...tura.hr>
---
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
index 0e4cbb2c64d7..a0e395da8a88 100644
--- a/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
+++ b/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
@@ -26,6 +26,7 @@
#include <linux/pci.h>
#include <linux/pci-ats.h>
#include <linux/platform_device.h>
+#include <linux/string_choices.h>
#include <kunit/visibility.h>
#include <uapi/linux/iommufd.h>
--
2.47.1
Powered by blists - more mailing lists