We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2bac68 commit c8bb0f0Copy full SHA for c8bb0f0
drivers/irqchip/irq-mvebu-gicp.c
@@ -238,7 +238,7 @@ static int mvebu_gicp_probe(struct platform_device *pdev)
238
}
239
240
base = ioremap(gicp->res->start, resource_size(gicp->res));
241
- if (IS_ERR(base)) {
+ if (!base) {
242
dev_err(&pdev->dev, "ioremap() failed. Unable to clear pending interrupts.\n");
243
} else {
244
for (i = 0; i < 64; i++)
0 commit comments