aboutsummaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2024-09-06 12:47:50 -0300
committerWill Deacon <[email protected]>2024-09-09 15:47:14 +0100
commit85196f54743d97b0678e7889df72fdcc58ab2b02 (patch)
treebbf0d5e632c74c87bdf6f4960a97a9933178a0aa /include/linux/overflow.h
parentabb4f9d323a8d53870cc842d3c5024f71c2d4951 (diff)
iommu/arm-smmu-v3: Reorganize struct arm_smmu_strtab_cfg
The members here are being used for both the linear and the 2 level case, with the meaning of each item slightly different in the two cases. Split it into a clean union where both cases have their own struct with their own logical names and correct types. Adjust all the users to detect linear/2lvl and use the right sub structure and types consistently. Remove STRTAB_STE_DWORDS by changing the last places to use sizeof(struct arm_smmu_ste). Tested-by: Nicolin Chen <[email protected]> Reviewed-by: Nicolin Chen <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions