Files
linux-stable-mirror/include/linux
Robin MurphyandJoerg Roedel 29c6e1c2b9 iommu: Unexport iommu_fwspec_free()
The drivers doing their own fwspec parsing have no need to call
iommu_fwspec_free() since fwspecs were moved into dev_iommu, as
returning an error from .probe_device will tear down the whole lot
anyway. Move it into the private interface now that it only serves
for of_iommu to clean up in an error case.

I have no idea what mtk_v1 was doing in effectively guaranteeing
a NULL fwspec would be dereferenced if no "iommus" DT property was
found, so add a check for that to at least make the code look sane.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/36e245489361de2d13db22a510fa5c79e7126278.1740667667.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
2025-03-11 14:05:39 +01:00
..
2025-01-04 15:27:35 -07:00
2025-01-06 07:36:39 -07:00
2025-01-18 12:33:39 -08:00
2025-01-25 20:22:31 -08:00
2025-01-09 10:06:14 +01:00
2025-01-07 18:06:51 -08:00
2025-03-11 14:05:39 +01:00
2025-01-25 08:22:26 +00:00
2025-01-14 19:45:35 +01:00
2025-02-04 11:27:45 -05:00
2025-01-15 15:07:23 -08:00
2025-01-25 20:22:42 -08:00
2025-01-16 17:22:59 -08:00
2025-01-10 11:59:00 +01:00
2025-01-07 15:16:48 +01:00
2025-01-02 10:37:14 -06:00
2025-01-08 14:50:11 -08:00
2025-01-11 20:39:43 +01:00
2025-01-29 09:04:28 -08:00