CC: [email protected] BCC: [email protected] CC: [email protected] TO: Huan Feng <[email protected]> CC: Emil Renner Berthing <[email protected]>
From: kernel test robot <[email protected]> drivers/char/hw_random/starfive-vic-rng.c:209:2-9: line 209 is redundant because platform_get_irq() already prints an error Remove dev_err() messages after platform_get_irq*() failures Generated by: scripts/coccinelle/api/platform_get_irq.cocci CC: Huan Feng <[email protected]> Reported-by: kernel test robot <[email protected]> Signed-off-by: kernel test robot <[email protected]> --- tree: https://github.com/esmil/linux visionfive head: 906be7ef2fb9e2f1fcb740d3d506768cddfc52ca commit: b422a122c72a7448306ad60808c748d57b98da71 [21/54] drivers/hw_random: Add StarFive JH7100 Random Number Generator driver :::::: branch date: 3 days ago :::::: commit date: 4 days ago Please take the patch only if it's a positive warning. Thanks! drivers/char/hw_random/starfive-vic-rng.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/char/hw_random/starfive-vic-rng.c +++ b/drivers/char/hw_random/starfive-vic-rng.c @@ -206,7 +206,6 @@ static int vic_rng_probe(struct platform irq = platform_get_irq(pdev, 0); if (irq <= 0) { - dev_err(&pdev->dev, "Couldn't get irq %d\n", irq); return irq; } _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
