Re: [PATCH v6 2/5] iommu/arm-smmu: refactor qcom_smmu structure to include single pointer

From: Dmitry Baryshkov
Date: Wed Dec 20 2023 - 19:29:16 EST


On Wed, 20 Dec 2023 at 15:38, Bibek Kumar Patro
<quic_bibekkum@xxxxxxxxxxx> wrote:
>
> qcom_smmu_match_data is static and constant so refactor qcom_smmu
> to store single pointer to qcom_smmu_match_data instead of
> replicating multiple child members of the same and handle the further
> dereferences in the places that want them.
>
> Suggested-by: Robin Murphy <robin.murphy@xxxxxxx>
> Signed-off-by: Bibek Kumar Patro <quic_bibekkum@xxxxxxxxxxx>
> ---
> drivers/iommu/arm/arm-smmu/arm-smmu-qcom-debug.c | 2 +-
> drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 2 +-
> drivers/iommu/arm/arm-smmu/arm-smmu-qcom.h | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>

--
With best wishes
Dmitry