diff options
| author | Will Deacon <[email protected]> | 2025-01-10 13:18:55 +0000 |
|---|---|---|
| committer | Will Deacon <[email protected]> | 2025-01-10 13:28:56 +0000 |
| commit | 1f3dc29d2445c89c85e451c02e41a8e0cd22423c (patch) | |
| tree | cf1b282b7c3e83c3f7e33a5b41d2255fe74401eb /net/switchdev/switchdev.c | |
| parent | iommu/arm-smmu-v3: Use str_read_write helper w/ logs (diff) | |
| download | kernel-1f3dc29d2445c89c85e451c02e41a8e0cd22423c.tar.gz kernel-1f3dc29d2445c89c85e451c02e41a8e0cd22423c.zip | |
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/[email protected]
Reported-by: Marek Szyprowski <[email protected]>
Fixes: f2c77f6e41e6 ("iommu/arm-smmu-v3: Use str_read_write helper w/ logs")
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
