irqchip/irq-mvebu-icu: Remove redundant error printing in mvebu_icu_probe()
Subsystems (2)
PATCH 1/1 irqchip/irq-mvebu-icu: Remove redundant error printing in mvebu_icu_probe()
When devm_ioremap_resource() fails, a clear enough error message will be printed by its subfunction __devm_ioremap_resource(). The error information contains the device name, failure cause, and possibly resource information.
Therefore, remove the error printing here to simplify code and reduce the binary size.
--- drivers/irqchip/irq-mvebu-icu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/irqchip/irq-mvebu-icu.c +1 -3
@@ -359,10 +359,8 @@ static int mvebu_icu_probe(struct platform_device *pdev) res =platform_get_resource (pdev,IORESOURCE_MEM ,0 ); icu->base =devm_ioremap_resource (&pdev->dev, res); -if (IS_ERR (icu->base)) { -dev_err (&pdev->dev,"Failed to map icu base address.\n" ); +if (IS_ERR (icu->base))return PTR_ERR (icu->base); - }/* * Legacy bindings: ICU is one node with one MSI parent: force manually
Signature · 8 lines
2.26.0.106.g9fadedd _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Hi Zhen,
Quoted 10 lines · Zhen Lei
When
devm_ioremap_resource()fails, a clear enough error message will be printed by its subfunction__devm_ioremap_resource(). The error information contains the device name, failure cause, and possibly resource information.Therefore, remove the error printing here to simplify code and reduce the binary size.
Reported-by Hulk Robot <[email protected]>Signed-off-by Zhen Lei <[email protected]>
I'm all grateful for these changes, but can you please organise them in a series and send all the irqchip-related changes at once, instead of one patch every two hours?
Thanks,
M.
Signature · 6 lines
Jazz is not dead. It just smells funny... _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 11 lines · Marc Zyngier
Hi Zhen,
Quoted 8 lines · Zhen Lei
When
devm_ioremap_resource()fails, a clear enough error message will be printed by its subfunction__devm_ioremap_resource(). The error information contains the device name, failure cause, and possibly resource information.Therefore, remove the error printing here to simplify code and reduce the binary size.
Quoted 6 lines
Quoted 2 lines
Reported-by Hulk Robot <[email protected]>Signed-off-by Zhen Lei <[email protected]>I'm all grateful for these changes, but can you please organise them in a series and send all the irqchip-related changes at once, instead of one patch every two hours?
OK, I will do it.
Quoted 4 lines
Thanks,
M.
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 14 lines · Leizhen (ThunderTown)
Quoted 11 lines · Marc Zyngier
Hi Zhen,
Quoted 8 lines · Zhen Lei
When
devm_ioremap_resource()fails, a clear enough error message will be printed by its subfunction__devm_ioremap_resource(). The error information contains the device name, failure cause, and possibly resource information.Therefore, remove the error printing here to simplify code and reduce the binary size.
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
Reported-by Hulk Robot <[email protected]>Signed-off-by Zhen Lei <[email protected]>I'm all grateful for these changes, but can you please organise them in a series and send all the irqchip-related changes at once, instead of one patch every two hours?
In a hurry yesterday, I misunderstood that they needed to be merged into one patch. Because the rbot reports only one file at a time and there is no file order. I didn't take the time to summarise it at first.
Quoted 7 lines
OK, I will do it.
Quoted 4 lines
Thanks,
M.
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Quoted 14 lines · Leizhen (ThunderTown)
Quoted 11 lines · Marc Zyngier
Hi Zhen,
Quoted 8 lines · Zhen Lei
When
devm_ioremap_resource()fails, a clear enough error message will be printed by its subfunction__devm_ioremap_resource(). The error information contains the device name, failure cause, and possibly resource information.Therefore, remove the error printing here to simplify code and reduce the binary size.
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
Reported-by Hulk Robot <[email protected]>Signed-off-by Zhen Lei <[email protected]>I'm all grateful for these changes, but can you please organise them in a series and send all the irqchip-related changes at once, instead of one patch every two hours?
In a hurry yesterday, I misunderstood that they needed to be merged into one patch. Because the rbot reports only one file at a time and there is no file order. I didn't take the time to summarise it at first.
Quoted 6 lines
OK, I will do it.
Quoted 3 lines
Thanks,
Quoted 8 lines
Quoted 1 line
M.
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel