aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorDaniel Mentz <[email protected]>2023-11-07 22:22:26 -0800
committerJoerg Roedel <[email protected]>2023-12-01 10:13:49 +0100
commitc2183b3dcc9dd41b768569ea88bededa58cceebb (patch)
tree0c6f7ac2c6584cff1301e7386454eea3c728582b /scripts/generate_rust_analyzer.py
parente378c7de74620051c3be899a8c2506c25d23049d (diff)
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 (&). Fixes: a5bf3cfce8cb ("iommu: Implement of_iommu_get_resv_regions()") Signed-off-by: Daniel Mentz <[email protected]> Acked-by: Thierry Reding <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions