lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.1911181711270.2856@hadrien>
Date:   Mon, 18 Nov 2019 17:12:47 +0100 (CET)
From:   Julia Lawall <julia.lawall@...6.fr>
To:     Paul Cercueil <paul@...pouillou.net>
cc:     Ohad Ben-Cohen <ohad@...ery.com>,
        Bjorn Andersson <bjorn.andersson@...aro.org>,
        Rob Herring <robh+dt@...nel.org>,
        Mark Rutland <mark.rutland@....com>, od@...c.me,
        linux-remoteproc@...r.kernel.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org, Paul Cercueil <paul@...pouillou.net>,
        kbuild-all@...ts.01.org
Subject: [PATCH] remoteproc: ingenic: fix platform_get_irq.cocci warnings

From: kbuild test robot <lkp@...el.com>

Remove dev_err() messages after platform_get_irq*() failures as
platform_get_irq already prints an error message.

Generated by: scripts/coccinelle/api/platform_get_irq.cocci

Fixes: 7cb488f13ccb ("remoteproc: ingenic: Added remoteproc driver")
CC: Paul Cercueil <paul@...pouillou.net>
Signed-off-by: kbuild test robot <lkp@...el.com>
Signed-off-by: Julia Lawall <julia.lawall@...6.fr>
---

The extra {} will have to go as well.

url:    https://github.com/0day-ci/linux/commits/Paul-Cercueil/dt-bindings-Document-JZ47xx-VPU-auxiliary-processor/20191117-011034
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago

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

 ingenic_rproc.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/remoteproc/ingenic_rproc.c
+++ b/drivers/remoteproc/ingenic_rproc.c
@@ -201,7 +201,6 @@ static int ingenic_rproc_probe(struct pl

 	vpu->irq = platform_get_irq(pdev, 0);
 	if (vpu->irq < 0) {
-		dev_err(dev, "Failed to get platform IRQ");
 		return vpu->irq;
 	}

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ