CC: kbuild-...@lists.01.org CC: de...@driverdev.osuosl.org CC: linux-ker...@vger.kernel.org TO: Mauro Carvalho Chehab <mche...@kernel.org> CC: linux-me...@vger.kernel.org CC: "Greg Kroah-Hartman" <gre...@linuxfoundation.org> CC: Arnd Bergmann <a...@arndb.de> CC: linux-ker...@vger.kernel.org
From: kernel test robot <l...@intel.com> drivers/misc/hi6421v600-irq.c:249:2-9: line 249 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: Mauro Carvalho Chehab <mchehab+hua...@kernel.org> Reported-by: kernel test robot <l...@intel.com> Signed-off-by: kernel test robot <l...@intel.com> --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-next head: f133717efc6f28052667daf682e99ffd4b3d7588 commit: bb3b6552a5b0679b55c43d49621597e54668f089 [38/56] staging: hikey9xx: split hi6421v600 irq into a separate driver :::::: branch date: 3 days ago :::::: commit date: 5 days ago Please take the patch only if it's a positive warning. Thanks! hi6421v600-irq.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/misc/hi6421v600-irq.c +++ b/drivers/misc/hi6421v600-irq.c @@ -246,7 +246,6 @@ static int hi6421v600_irq_probe(struct p priv->irq = platform_get_irq(pmic_pdev, 0); if (priv->irq < 0) { - dev_err(dev, "Error %d when getting IRQs\n", priv->irq); return priv->irq; } _______________________________________________ kbuild mailing list -- kbuild@lists.01.org To unsubscribe send an email to kbuild-le...@lists.01.org