aboutsummaryrefslogtreecommitdiff
path: root/drivers/most
diff options
context:
space:
mode:
authorYang Yingliang2020-11-26 21:38:25 +0800
committerWill Deacon2020-11-26 14:53:32 +0000
commit058236eef606ea53ea7317afc20e9469cf3c3b91 (patch)
treecb5f66fe2501217de5520d989bfa6fac4430411f /drivers/most
parent6243f572a18db99607f29517b2d6b4209356b9fa (diff)
iommu: return error code when it can't get group
Although iommu_group_get() in iommu_probe_device() will always succeed thanks to __iommu_probe_device() creating the group if it's not present, it's still worth initialising 'ret' to -ENODEV in case this path is reachable in the future. For now, this patch results in no functional change. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Link: https://lore.kernel.org/r/20201126133825.3643852-1-yangyingliang@huawei.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'drivers/most')
0 files changed, 0 insertions, 0 deletions