UPSTREAM: iommu: Fix printk arg in of_iommu_get_resv_regions()
The variable phys is defined as (struct resource *) which aligns with the printk format specifier %pr. Taking the address of it results in a value of type (struct resource **) which is incompatible with the format specifier %pr. Therefore, remove the address of operator (&). Bug: 254441685 Fixes: a5bf3cfc ("iommu: Implement of_iommu_get_resv_regions()") Signed-off-by:Daniel Mentz <danielmentz@google.com> Acked-by:
Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20231108062226.928985-1-danielmentz@google.com Signed-off-by:
Joerg Roedel <jroedel@suse.de> (cherry picked from commit c2183b3d) Signed-off-by:
Lee Jones <joneslee@google.com> Change-Id: I36e8878d09f8cb3ff12280fbb535bfb8df682055
Loading
Please sign in to comment