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

Commit cbf75ee8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "iommu: Add NULL pointer check in iommu_present function"

parents 6762b842 e82936b3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -882,6 +882,8 @@ EXPORT_SYMBOL_GPL(bus_set_iommu);

bool iommu_present(struct bus_type *bus)
{
	if (!bus)
		return false;
	return bus->iommu_ops != NULL;
}
EXPORT_SYMBOL_GPL(iommu_present);