CC: [email protected] TO: Keerthy <[email protected]> CC: Tero Kristo <[email protected]> CC: Deepak Saxena <[email protected]> CC: Matt Mackall <[email protected]> CC: Herbert Xu <[email protected]> CC: Arnd Bergmann <[email protected]> CC: "Greg Kroah-Hartman" <[email protected]> CC: [email protected] CC: [email protected]
From: kernel test robot <[email protected]> drivers/char/hw_random/omap-rng.c:396:3-10: line 396 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 Fixes: 2ebf5f1440b6 ("char: hw_random: Kconfig: For ARCH_K3 add a dependency on SA2UL") CC: Keerthy <[email protected]> Signed-off-by: kernel test robot <[email protected]> --- tree: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-linux-5.4.y head: 134a1b1f8814115e2dd115b67082321bf9e63cc1 commit: 2ebf5f1440b6cee9b00c6f30c710c8dff8c8591f [2374/7050] char: hw_random: Kconfig: For ARCH_K3 add a dependency on SA2UL :::::: branch date: 6 hours ago :::::: commit date: 5 months ago Please take the patch only if it's a positive warning. Thanks! omap-rng.c | 2 -- 1 file changed, 2 deletions(-) --- a/drivers/char/hw_random/omap-rng.c +++ b/drivers/char/hw_random/omap-rng.c @@ -393,8 +393,6 @@ static int of_get_omap_rng_device_detail of_device_is_compatible(dev->of_node, "inside-secure,safexcel-eip76")) { irq = platform_get_irq(pdev, 0); if (irq < 0) { - dev_err(dev, "%s: error getting IRQ resource - %d\n", - __func__, irq); return irq; } _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
