irqchip/imgpdc: Use resource_size function on resource object
authorVasyl Gomonovych <[email protected]>
Mon, 20 Nov 2017 22:02:41 +0000 (23:02 +0100)
committerThomas Gleixner <[email protected]>
Thu, 23 Nov 2017 19:09:12 +0000 (20:09 +0100)
commit328bf1b29c3741de3c55f2b2e5179d18f16ba9c1
treebd844208d90e37529175205b50d75b43024b5451
parente9990d70e8a063a7b894c5cbb99f630a0f41200d
irqchip/imgpdc: Use resource_size function on resource object

drivers/irqchip/irq-imgpdc.c:327:20-23: WARNING: Suspicious code.
resource_size is maybe missing with res_regs

Generated by: scripts/coccinelle/api/resource_size.cocci

Signed-off-by: Vasyl Gomonovych <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
drivers/irqchip/irq-imgpdc.c