On 26/12/2019 9:51 am, Masahiro Yamada wrote:
Using ARRAY_SIZE() instead of the sentinel is slightly simpler, IMHO.
Given that it's fairly well-decided that we don't want to add any more
of these anyway, I'd be inclined to lose the array/loop machinery
altogether. As it is we'd need a lot
Using ARRAY_SIZE() instead of the sentinel is slightly simpler, IMHO.
Signed-off-by: Masahiro Yamada
---
drivers/iommu/arm-smmu-v3.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/iommu/arm-smmu-v3.c b/drivers/iommu/arm-smmu-v3.c
index