From: kernel test robot <lkp@intel.com>
To: Claudiu <claudiu.beznea@tuxon.dev>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH] PCI: rzg3s-host: Add Renesas RZ/G3S SoC host driver
Date: Sat, 20 Sep 2025 17:30:06 +0800 [thread overview]
Message-ID: <202509201730.nTm6qpou-lkp@intel.com> (raw)
In-Reply-To: <20250919093741.1695015-1-claudiu.beznea.uj@bp.renesas.com>
Hi Claudiu,
kernel test robot noticed the following build warnings:
[auto build test WARNING on pci/next]
[also build test WARNING on pci/for-linus linus/master v6.17-rc6 next-20250919]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Claudiu/PCI-rzg3s-host-Add-Renesas-RZ-G3S-SoC-host-driver/20250919-174238
base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next
patch link: https://lore.kernel.org/r/20250919093741.1695015-1-claudiu.beznea.uj%40bp.renesas.com
patch subject: [PATCH] PCI: rzg3s-host: Add Renesas RZ/G3S SoC host driver
config: loongarch-allyesconfig (https://download.01.org/0day-ci/archive/20250920/202509201730.nTm6qpou-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 7c861bcedf61607b6c087380ac711eb7ff918ca6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250920/202509201730.nTm6qpou-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202509201730.nTm6qpou-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from <built-in>:3:
In file included from include/linux/compiler_types.h:171:
include/linux/compiler-clang.h:28:9: warning: '__SANITIZE_ADDRESS__' macro redefined [-Wmacro-redefined]
28 | #define __SANITIZE_ADDRESS__
| ^
<built-in>:371:9: note: previous definition is here
371 | #define __SANITIZE_ADDRESS__ 1
| ^
>> drivers/pci/controller/pcie-rzg3s-host.c:834:29: warning: variable 'irq' is uninitialized when used here [-Wuninitialized]
834 | return dev_err_probe(dev, irq ? irq : -EINVAL,
| ^~~
drivers/pci/controller/pcie-rzg3s-host.c:826:9: note: initialize the variable 'irq' to silence this warning
826 | int irq, ret;
| ^
| = 0
2 warnings generated.
vim +/irq +834 drivers/pci/controller/pcie-rzg3s-host.c
819
820 static int rzg3s_pcie_msi_enable(struct rzg3s_pcie_host *host)
821 {
822 struct platform_device *pdev = to_platform_device(host->dev);
823 struct rzg3s_pcie_msi *msi = &host->msi;
824 struct device *dev = host->dev;
825 const char *devname;
826 int irq, ret;
827
828 ret = devm_mutex_init(dev, &msi->map_lock);
829 if (ret)
830 return ret;
831
832 msi->irq = platform_get_irq_byname(pdev, "msi");
833 if (msi->irq < 0)
> 834 return dev_err_probe(dev, irq ? irq : -EINVAL,
835 "Failed to get MSI IRQ!\n");
836
837 devname = devm_kasprintf(dev, GFP_KERNEL, "%s-msi", dev_name(dev));
838 if (!devname)
839 return -ENOMEM;
840
841 ret = rzg3s_pcie_msi_allocate_domains(msi);
842 if (ret)
843 return ret;
844
845 ret = request_irq(msi->irq, rzg3s_pcie_msi_irq, 0, devname, host);
846 if (ret) {
847 dev_err_probe(dev, ret, "Failed to request IRQ: %d\n", ret);
848 goto free_domains;
849 }
850
851 ret = rzg3s_pcie_msi_setup(host);
852 if (ret) {
853 dev_err_probe(dev, ret, "Failed to setup MSI!\n");
854 goto free_irq;
855 }
856
857 return 0;
858
859 free_irq:
860 free_irq(msi->irq, host);
861 free_domains:
862 irq_domain_remove(msi->domain);
863 return ret;
864 }
865
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-09-20 9:30 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-12 12:24 [PATCH v4 0/6] PCI: rzg3s-host: Add PCIe driver for Renesas RZ/G3S SoC Claudiu
2025-09-12 12:24 ` [PATCH v4 1/6] dt-bindings: PCI: renesas,r9a08g045s33-pcie: Add documentation for the PCIe IP on Renesas RZ/G3S Claudiu
2025-09-12 13:41 ` Krzysztof Kozlowski
2025-09-12 13:45 ` Claudiu Beznea
2025-09-12 12:24 ` [PATCH v4 2/6] PCI: rzg3s-host: Add Renesas RZ/G3S SoC host driver Claudiu
2025-09-19 8:45 ` Manivannan Sadhasivam
2025-09-19 9:28 ` Claudiu Beznea
2025-09-29 17:35 ` Manivannan Sadhasivam
2025-09-19 9:37 ` [PATCH] " Claudiu
2025-09-20 9:30 ` kernel test robot [this message]
2025-09-26 4:42 ` Claudiu Beznea
2025-09-29 17:38 ` Manivannan Sadhasivam
2025-09-12 12:24 ` [PATCH v4 3/6] arm64: dts: renesas: r9a08g045: Add PCIe node Claudiu
2025-09-26 9:45 ` Geert Uytterhoeven
2025-09-12 12:24 ` [PATCH v4 4/6] arm64: dts: renesas: rzg3s-smarc-som: Update dma-ranges for PCIe Claudiu
2025-09-18 9:09 ` Geert Uytterhoeven
2025-09-18 9:47 ` Claudiu Beznea
2025-09-18 10:00 ` Geert Uytterhoeven
2025-09-19 7:38 ` Claudiu Beznea
2025-09-19 7:53 ` Biju Das
2025-09-19 8:25 ` Manivannan Sadhasivam
2025-09-19 8:48 ` Claudiu Beznea
2025-09-12 12:24 ` [PATCH v4 5/6] arm64: dts: renesas: rzg3s-smarc: Enable PCIe Claudiu
2025-09-26 9:49 ` Geert Uytterhoeven
2025-09-12 12:24 ` [PATCH v4 6/6] arm64: defconfig: Enable PCIe for the Renesas RZ/G3S SoC Claudiu
2025-09-12 13:41 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202509201730.nTm6qpou-lkp@intel.com \
--to=lkp@intel.com \
--cc=claudiu.beznea@tuxon.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.