From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7592008125533923472==" MIME-Version: 1.0 From: kernel test robot Subject: [PATCH] media: rc: fix platform_get_irq.cocci warnings Date: Thu, 15 Jul 2021 15:12:24 +0800 Message-ID: <20210715071224.GA72241@8477bdff9b4e> In-Reply-To: <202107151416.QCeotjjl-lkp@intel.com> List-Id: To: kbuild@lists.01.org --===============7592008125533923472== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable CC: kbuild-all(a)lists.01.org In-Reply-To: <20210714212706.24945-3-viktor.prutyanov@phystech.edu> References: <20210714212706.24945-3-viktor.prutyanov@phystech.edu> TO: Viktor Prutyanov TO: sean(a)mess.org TO: mchehab(a)kernel.org TO: robh+dt(a)kernel.org TO: khilman(a)baylibre.com TO: narmstrong(a)baylibre.com CC: jbrunet(a)baylibre.com CC: martin.blumenstingl(a)googlemail.com CC: linux-media(a)vger.kernel.org CC: devicetree(a)vger.kernel.org CC: linux-kernel(a)vger.kernel.org From: kernel test robot drivers/media/rc/meson-ir-tx.c:323:2-9: line 323 is redundant because platf= orm_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: Viktor Prutyanov Reported-by: kernel test robot Signed-off-by: kernel test robot --- url: https://github.com/0day-ci/linux/commits/Viktor-Prutyanov/media-rc-= add-support-for-Amlogic-Meson-IR-blaster/20210715-052839 base: git://linuxtv.org/media_tree.git master :::::: branch date: 10 hours ago :::::: commit date: 10 hours ago Please take the patch only if it's a positive warning. Thanks! meson-ir-tx.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/media/rc/meson-ir-tx.c +++ b/drivers/media/rc/meson-ir-tx.c @@ -320,7 +320,6 @@ static int __init meson_irtx_probe(struc = irq =3D platform_get_irq(pdev, 0); if (irq < 0) { - dev_err(dev, "no irq resource found\n"); return -ENODEV; } =20 --===============7592008125533923472==--