CC: [email protected]
BCC: [email protected]
CC: [email protected]
TO: Miaoqian Lin <[email protected]>
CC: "Greg Kroah-Hartman" <[email protected]>
CC: Srinivas Kandagatla <[email protected]>
CC: Andy Gross <[email protected]>
CC: Bjorn Andersson <[email protected]>
CC: [email protected]
CC: [email protected]
CC: [email protected]

From: kernel test robot <[email protected]>

drivers/slimbus/qcom-ctrl.c:514:2-9: line 514 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: fe503887eed6 ("slimbus: qcom: Fix IRQ check in qcom_slim_probe")
CC: Miaoqian Lin <[email protected]>
Reported-by: kernel test robot <[email protected]>
Signed-off-by: kernel test robot <[email protected]>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git 
char-misc-linus
head:   fe503887eed6ea528e144ec8dacfa1d47aa701ac
commit: fe503887eed6ea528e144ec8dacfa1d47aa701ac [1/1] slimbus: qcom: Fix IRQ 
check in qcom_slim_probe
:::::: branch date: 9 hours ago
:::::: commit date: 9 hours ago

Please take the patch only if it's a positive warning. Thanks!

 drivers/slimbus/qcom-ctrl.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/slimbus/qcom-ctrl.c
+++ b/drivers/slimbus/qcom-ctrl.c
@@ -511,7 +511,6 @@ static int qcom_slim_probe(struct platfo
 
        ctrl->irq = platform_get_irq(pdev, 0);
        if (ctrl->irq < 0) {
-               dev_err(&pdev->dev, "no slimbus IRQ\n");
                return ctrl->irq;
        }
 
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to