diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2025-08-06 16:53:18 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-08-06 17:00:40 +0200 |
commit | 9f7488f24c7571d349d938061e0ede7a39b65d6b (patch) | |
tree | 73f02887f9c1d87974d04db58f14dcb3dd4bed4e /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | 3b6a18f0da8720d612d8a682ea5c55870da068e0 (diff) |
irqchip/mvebu-gicp: Use resource_size() for ioremap()
0-day reported an off by one in the ioremap() sizing:
drivers/irqchip/irq-mvebu-gicp.c:240:45-48: WARNING:
Suspicious code. resource_size is maybe missing with gicp -> res
Convert it to resource_size(), which does the right thing.
Fixes: 3c3d7dbab2c7 ("irqchip/mvebu-gicp: Clear pending interrupts on init")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Closes: https://lore.kernel.org/oe-kbuild-all/202508062150.mtFQMTXc-lkp@intel.com/
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions