[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202505170506.s78iuxFL-lkp@intel.com>
Date: Sat, 17 May 2025 05:44:04 +0800
From: kernel test robot <lkp@...el.com>
To: zhangsenchuan@...incomputing.com, bhelgaas@...gle.com,
lpieralisi@...nel.org, kw@...ux.com,
manivannan.sadhasivam@...aro.org, robh@...nel.org,
krzk+dt@...nel.org, conor+dt@...nel.org, linux-pci@...r.kernel.org,
devicetree@...r.kernel.or, linux-kernel@...r.kernel.org,
p.zabel@...gutronix.de, johan+linaro@...nel.org,
quic_schintav@...cinc.com, shradha.t@...sung.com, cassel@...nel.org,
thippeswamy.havalige@....com
Cc: oe-kbuild-all@...ts.linux.dev, ningyu@...incomputing.com,
linmin@...incomputing.com,
Senchuan Zhang <zhangsenchuan@...incomputing.com>
Subject: Re: [PATCH v1 2/2] PCI: eic7700: Add Eswin eic7700 PCIe host
controller driver
Hi,
kernel test robot noticed the following build errors:
[auto build test ERROR on pci/next]
[also build test ERROR on pci/for-linus linus/master v6.15-rc6 next-20250516]
[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/zhangsenchuan-eswincomputing-com/dt-bindings-PCI-eic7700-Add-Eswin-eic7700-PCIe-host-controller/20250516-174445
base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next
patch link: https://lore.kernel.org/r/20250516094315.179-1-zhangsenchuan%40eswincomputing.com
patch subject: [PATCH v1 2/2] PCI: eic7700: Add Eswin eic7700 PCIe host controller driver
config: loongarch-allmodconfig (https://download.01.org/0day-ci/archive/20250517/202505170506.s78iuxFL-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250517/202505170506.s78iuxFL-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202505170506.s78iuxFL-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/printk.h:6,
from include/linux/kernel.h:31,
from include/linux/clk.h:13,
from drivers/pci/controller/dwc/pcie-eic7700.c:11:
>> drivers/pci/controller/dwc/pcie-eic7700.c:427:28: error: initialization of 'void (*)(struct platform_device *)' from incompatible pointer type 'int (*)(struct platform_device *)' [-Wincompatible-pointer-types]
427 | .remove = __exit_p(eswin_pcie_remove),
| ^~~~~~~~~~~~~~~~~
include/linux/init.h:395:21: note: in definition of macro '__exit_p'
395 | #define __exit_p(x) x
| ^
drivers/pci/controller/dwc/pcie-eic7700.c:427:28: note: (near initialization for 'eswin_pcie_driver.remove')
427 | .remove = __exit_p(eswin_pcie_remove),
| ^~~~~~~~~~~~~~~~~
include/linux/init.h:395:21: note: in definition of macro '__exit_p'
395 | #define __exit_p(x) x
| ^
vim +427 drivers/pci/controller/dwc/pcie-eic7700.c
418
419 static struct platform_driver eswin_pcie_driver = {
420 .driver = {
421 .name = "eic7700-pcie",
422 .of_match_table = eswin_pcie_of_match,
423 .suppress_bind_attrs = true,
424 .pm = &eswin_pcie_pm_ops,
425 },
426 .probe = eswin_pcie_probe,
> 427 .remove = __exit_p(eswin_pcie_remove),
428 .shutdown = eswin_pcie_shutdown,
429 };
430
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists