Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f8ac0fb5 authored by Patrick Daly's avatar Patrick Daly
Browse files

iommu: arm-smmu: Fix list iteration error



After using list_for_each_entry, the iterator variable is set to the
head of the list even if the list is empty. Check for this and
return NULL in this case.

Change-Id: Ibd931f2353dee705b6be857e53854f1299219016
Signed-off-by: default avatarPatrick Daly <pdaly@codeaurora.org>
parent e15b3bc7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment