# \[PATCH v2 17/40\] iommu/arm-smmu-v3: Link domains and devices

- From: Jean-Philippe Brucker \<hidden\>
- Date: 2018-05-21 14:50:01 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2018/05/6487901
- Thread: https://ratatoskr.run/kvm/2018/05/6487703/t.md

```text
On 17/05/18 17:07, Jonathan Cameron wrote:
>> +++ b/drivers/iommu/arm-smmu-v3.c
>> @@ -595,6 +595,11 @@ struct arm_smmu_device {
>>  struct arm_smmu_master_data {
>>  	struct arm_smmu_device		*smmu;
>>  	struct arm_smmu_strtab_ent	ste;
>> +
>> +	struct arm_smmu_domain		*domain;
>> +	struct list_head		list; /* domain->devices */
> 
> More meaningful name perhaps to avoid the need for the comment?

Sure

Thanks,
Jean
```
