summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2025-01-10 16:18:55 +0300
committerWill Deacon <will@kernel.org>2025-01-10 16:28:56 +0300
commit1f3dc29d2445c89c85e451c02e41a8e0cd22423c (patch)
treecf1b282b7c3e83c3f7e33a5b41d2255fe74401eb /tools/perf/scripts/python/export-to-postgresql.py
parentf2c77f6e41e68e1b24c165acbf6d4da6b3117e23 (diff)
downloadlinux-1f3dc29d2445c89c85e451c02e41a8e0cd22423c.tar.xz
iommu/arm-smmu-v3: Add missing #include of linux/string_choices.h
Commit f2c77f6e41e6 ("iommu/arm-smmu-v3: Use str_read_write helper w/ logs") introduced a call to str_read_write() in the SMMUv3 driver but without an explicit #include of <linux/string_choices.h>. This breaks the build for custom configurations where CONFIG_ACPI=n: drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:1909:4: error: call to undeclared function 'str_read_write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1909 | str_read_write(evt->read), | ^ Add the missing #include. Link: https://lore.kernel.org/r/d07e82a4-2880-4ae3-961b-471bfa7ac6c4@samsung.com Reported-by: Marek Szyprowski <m.szyprowski@samsung.com> Fixes: f2c77f6e41e6 ("iommu/arm-smmu-v3: Use str_read_write helper w/ logs") Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions