* [linux-next:master 1491/1813] sound/soc/fsl/fsl_spdif.c:1325:3-10: line 1325 is redundant because platform_get_irq() already prints an error
@ 2020-10-27 10:21 kernel test robot
2020-10-27 10:21 ` [PATCH] ASoC: fsl_spdif: fix platform_get_irq.cocci warnings kernel test robot
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-10-27 10:21 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 1093 bytes --]
CC: kbuild-all(a)lists.01.org
CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Shengjiu Wang <shengjiu.wang@nxp.com>
CC: Mark Brown <broonie@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 0dec50edcc9216535f82b1987c0a51efb3e23674
commit: 516232e3609f485be04445b03723fbaed64a5321 [1491/1813] ASoC: fsl_spdif: Add support for i.MX8QM platform
:::::: branch date: 5 hours ago
:::::: commit date: 16 hours ago
config: arm-randconfig-c004-20201026 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
"coccinelle warnings: (new ones prefixed by >>)"
>> sound/soc/fsl/fsl_spdif.c:1325:3-10: line 1325 is redundant because platform_get_irq() already prints an error
Please review and possibly fold the followup patch.
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 31706 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] ASoC: fsl_spdif: fix platform_get_irq.cocci warnings
2020-10-27 10:21 [linux-next:master 1491/1813] sound/soc/fsl/fsl_spdif.c:1325:3-10: line 1325 is redundant because platform_get_irq() already prints an error kernel test robot
@ 2020-10-27 10:21 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-10-27 10:21 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 1694 bytes --]
CC: kbuild-all(a)lists.01.org
CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Shengjiu Wang <shengjiu.wang@nxp.com>
CC: Mark Brown <broonie@kernel.org>
CC: Timur Tabi <timur@kernel.org>
CC: Nicolin Chen <nicoleotsuka@gmail.com>
CC: Xiubo Li <Xiubo.Lee@gmail.com>
CC: Fabio Estevam <festevam@gmail.com>
CC: Liam Girdwood <lgirdwood@gmail.com>
CC: Jaroslav Kysela <perex@perex.cz>
CC: Takashi Iwai <tiwai@suse.com>
CC: alsa-devel(a)alsa-project.org
From: kernel test robot <lkp@intel.com>
sound/soc/fsl/fsl_spdif.c:1325:3-10: line 1325 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: 516232e3609f ("ASoC: fsl_spdif: Add support for i.MX8QM platform")
CC: Shengjiu Wang <shengjiu.wang@nxp.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 0dec50edcc9216535f82b1987c0a51efb3e23674
commit: 516232e3609f485be04445b03723fbaed64a5321 [1491/1813] ASoC: fsl_spdif: Add support for i.MX8QM platform
:::::: branch date: 5 hours ago
:::::: commit date: 16 hours ago
Please take the patch only if it's a positive warning. Thanks!
fsl_spdif.c | 1 -
1 file changed, 1 deletion(-)
--- a/sound/soc/fsl/fsl_spdif.c
+++ b/sound/soc/fsl/fsl_spdif.c
@@ -1322,7 +1322,6 @@ static int fsl_spdif_probe(struct platfo
for (i = 0; i < spdif_priv->soc->interrupts; i++) {
irq = platform_get_irq(pdev, i);
if (irq < 0) {
- dev_err(&pdev->dev, "no irq for node %s\n", pdev->name);
return irq;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-27 10:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-27 10:21 [linux-next:master 1491/1813] sound/soc/fsl/fsl_spdif.c:1325:3-10: line 1325 is redundant because platform_get_irq() already prints an error kernel test robot
2020-10-27 10:21 ` [PATCH] ASoC: fsl_spdif: fix platform_get_irq.cocci warnings kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.