From: kernel test robot <lkp@intel.com>
To: "Frank Li" <Frank.Li@nxp.com>,
"Lorenzo Pieralisi" <lpieralisi@kernel.org>,
"Krzysztof Wilczyński" <kw@linux.com>,
"Manivannan Sadhasivam" <manivannan.sadhasivam@linaro.org>,
"Rob Herring" <robh@kernel.org>,
"Bjorn Helgaas" <helgaas@kernel.org>,
"Krzysztof Kozlowski" <krzk@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Abraham I" <kishon@kernel.org>,
"Saravana Kannan" <saravanak@google.com>,
"Jingoo Han" <jingoohan1@gmail.com>,
"Gustavo Pimentel" <gustavo.pimentel@synopsys.com>,
"Jesper Nilsson" <jesper.nilsson@axis.com>,
"Richard Zhu" <hongxing.zhu@nxp.com>,
"Lucas Stach" <l.stach@pengutronix.de>,
"Shawn Guo" <shawnguo@kernel.org>,
"Sascha Hauer" <s.hauer@pengutronix.de>,
"Pengutronix Kernel Team" <kernel@pengutronix.de>,
"Fabio Estevam" <festevam@gmail.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-pci@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-arm-kernel@axis.com,
linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev,
Frank Li <Frank.Li@nxp.com>
Subject: Re: [PATCH v3 1/4] PCI: dwc: ep: Add bus_addr_base for outbound window
Date: Wed, 23 Oct 2024 03:30:47 +0800 [thread overview]
Message-ID: <202410230325.DxAdrnbW-lkp@intel.com> (raw)
In-Reply-To: <20241021-pcie_ep_range-v3-1-b13526eb0089@nxp.com>
Hi Frank,
kernel test robot noticed the following build errors:
[auto build test ERROR on afb15ca28055352101286046c1f9f01fdaa1ace1]
url: https://github.com/intel-lab-lkp/linux/commits/Frank-Li/PCI-dwc-ep-Add-bus_addr_base-for-outbound-window/20241022-041043
base: afb15ca28055352101286046c1f9f01fdaa1ace1
patch link: https://lore.kernel.org/r/20241021-pcie_ep_range-v3-1-b13526eb0089%40nxp.com
patch subject: [PATCH v3 1/4] PCI: dwc: ep: Add bus_addr_base for outbound window
config: i386-buildonly-randconfig-002-20241023 (https://download.01.org/0day-ci/archive/20241023/202410230325.DxAdrnbW-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241023/202410230325.DxAdrnbW-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/202410230325.DxAdrnbW-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/pci/controller/dwc/pcie-designware-ep.c:885:35: error: incompatible pointer types passing 'phys_addr_t *' (aka 'unsigned int *') to parameter of type 'u64 *' (aka 'unsigned long long *') [-Werror,-Wincompatible-pointer-types]
885 | of_property_read_reg(np, index, &ep->bus_addr_base, NULL);
| ^~~~~~~~~~~~~~~~~~
include/linux/of_address.h:75:64: note: passing argument to parameter 'addr' here
75 | int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size);
| ^
1 error generated.
vim +885 drivers/pci/controller/dwc/pcie-designware-ep.c
846
847 /**
848 * dw_pcie_ep_init - Initialize the endpoint device
849 * @ep: DWC EP device
850 *
851 * Initialize the endpoint device. Allocate resources and create the EPC
852 * device with the endpoint framework.
853 *
854 * Return: 0 if success, errno otherwise.
855 */
856 int dw_pcie_ep_init(struct dw_pcie_ep *ep)
857 {
858 int ret;
859 struct resource *res;
860 struct pci_epc *epc;
861 struct dw_pcie *pci = to_dw_pcie_from_ep(ep);
862 struct device *dev = pci->dev;
863 struct platform_device *pdev = to_platform_device(dev);
864 struct device_node *np = dev->of_node;
865 int index;
866
867 INIT_LIST_HEAD(&ep->func_list);
868
869 ret = dw_pcie_get_resources(pci);
870 if (ret)
871 return ret;
872
873 res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "addr_space");
874 if (!res)
875 return -EINVAL;
876
877 ep->phys_base = res->start;
878 ep->bus_addr_base = ep->phys_base;
879
880 if (pci->using_dtbus_info) {
881 index = of_property_match_string(np, "reg-names", "addr_space");
882 if (index < 0)
883 return -EINVAL;
884
> 885 of_property_read_reg(np, index, &ep->bus_addr_base, NULL);
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-10-22 19:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-21 20:07 [PATCH v3 0/4] PCI: ep: dwc/imx6: Add bus address support for PCI endpoint devices Frank Li
2024-10-21 20:07 ` [PATCH v3 1/4] PCI: dwc: ep: Add bus_addr_base for outbound window Frank Li
2024-10-22 19:30 ` kernel test robot [this message]
2024-10-22 19:41 ` kernel test robot
2024-10-21 20:07 ` [PATCH v3 2/4] dt-bindings: PCI: fsl,imx6q-pcie-ep: Add compatible string fsl,imx8q-pcie-ep Frank Li
2024-10-21 20:07 ` [PATCH v3 3/4] PCI: imx6: Pass correct sub mode when calling phy_set_mode_ext() Frank Li
2024-10-21 20:07 ` [PATCH v3 4/4] PCI: imx6: Add i.MX8Q PCIe Endpoint (EP) support Frank Li
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=202410230325.DxAdrnbW-lkp@intel.com \
--to=lkp@intel.com \
--cc=Frank.Li@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=gustavo.pimentel@synopsys.com \
--cc=helgaas@kernel.org \
--cc=hongxing.zhu@nxp.com \
--cc=imx@lists.linux.dev \
--cc=jesper.nilsson@axis.com \
--cc=jingoohan1@gmail.com \
--cc=kernel@pengutronix.de \
--cc=kishon@kernel.org \
--cc=krzk@kernel.org \
--cc=kw@linux.com \
--cc=l.stach@pengutronix.de \
--cc=linux-arm-kernel@axis.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=lpieralisi@kernel.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=saravanak@google.com \
--cc=shawnguo@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).