From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0DD6C2836A6; Fri, 18 Sep 2026 12:38:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789735130; cv=none; b=eezFTZJaRf48sPcFMaymE4yKUJzw18eUdEh+ryz4QtSdckc6UUKmDld7YdCHaDXHZ2SMccxqbmf2amp3FpPE2u+Xj8jzwvSkV9x7ykg9ED61xXtZGYyUnBBI8I4+5n5uThENaphhbCK/Xu4t4FoutPiZrdP4bPWPJu3WVv2zEEc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789735130; c=relaxed/simple; bh=v0D30XdnWAvAbeRE19PhPRcH4pTMxxvHgKyrSnCkpXg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LKliUNW3n3sIPui7dVP9RcxfVsfP0+aWuz2fm1kMpBRFG9zx5olP1RLkMCJ9ggELI2IRn5MGdiTw1sN8cfGBZX9cMMrGpUSQBGmn8JtlAr+amLeMHVwoHldhrz1UzHtg5cZxhEChq3dEWbWSK4Pv1kDHadHHvV1KaSL/lnkFkOM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=DP929awr; arc=none smtp.client-ip=192.198.163.8 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="DP929awr" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1789735127; x=1821271127; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=v0D30XdnWAvAbeRE19PhPRcH4pTMxxvHgKyrSnCkpXg=; b=DP929awrBjWZete7t/W5V2AQ/DHUDlx+sGfi3WTuPV88V4BWvPQqZ4k7 Wxq9h+eRyOlrqq8QdRItHzPaysJcQoxOujGtDr9TcUlWMwKKDP2uDTd2P sohbps+vJRwrOAw1SHOR5aocVkQsvGSrUUIcnMRon8jx0xNcEtg7VdRrZ K3Y7K7tLtr/mO/T3g3dkSZ+3Mrt6F3QpeqEwX4s591I7ZWD3YKD4nNDX4 W8aEyJq9+f6uhgsw3HIh6JLERj7WoyYhs7qnQw025z1nk6zWNw1nNy01n F7L5xAVo7ee9a7QuH0Ajp/jHJy64bpC5iycV2u8uCicxWFeWF+jRvvlDG A==; X-CSE-ConnectionGUID: C5VBN8rORCuBVvGjZa3Y3A== X-CSE-MsgGUID: Fj27AAZTRDmJXg0PswcULQ== X-IronPort-AV: E=McAfee;i="6800,10657,11908"; a="107739668" X-IronPort-AV: E=Sophos;i="6.27,108,1787036400"; d="scan'208";a="107739668" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Sep 2026 05:38:46 -0700 X-CSE-ConnectionGUID: 5tt/Sdj0Q+OaHZQR6fQV3A== X-CSE-MsgGUID: cpPK04BwS6qDYCxotWmOmQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,108,1787036400"; d="scan'208";a="271061162" Received: from lkp-server01.sh.intel.com (HELO 462990a40a85) ([10.239.97.150]) by fmviesa007.fm.intel.com with ESMTP; 18 Sep 2026 05:38:42 -0700 Received: from kbuild by 462990a40a85 with local (Exim 4.98.2) (envelope-from ) id 1x7XrK-000000009mn-2qP8; Fri, 18 Sep 2026 12:38:30 +0000 Date: Fri, 18 Sep 2026 20:37:31 +0800 From: kernel test robot To: Wentao Liang , Liviu.Dudau@arm.com Cc: oe-kbuild-all@lists.linux.dev, bhelgaas@google.com, kwilczynski@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, lpieralisi@kernel.org, mani@kernel.org, robh@kernel.org, tinamdar@apm.com, toan@os.amperecomputing.com, Wentao Liang , stable@vger.kernel.org Subject: Re: [PATCH] PCI: xgene: Fix device node reference leak in xgene_pcie_probe() Message-ID: <202609182039.WWGUVgS7-lkp@intel.com> References: <20260917132235.2153154-1-vulab@iscas.ac.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260917132235.2153154-1-vulab@iscas.ac.cn> Hi Wentao, 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 v7.3-rc3 next-20260916] [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/Wentao-Liang/PCI-xgene-Fix-device-node-reference-leak-in-xgene_pcie_probe/20260917-132235 base: https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git next patch link: https://lore.kernel.org/r/20260917132235.2153154-1-vulab%40iscas.ac.cn patch subject: [PATCH] PCI: xgene: Fix device node reference leak in xgene_pcie_probe() config: arm64-defconfig (https://download.01.org/0day-ci/archive/20260918/202609182039.WWGUVgS7-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 16.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260918/202609182039.WWGUVgS7-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 | Closes: https://lore.kernel.org/oe-kbuild-all/202609182039.WWGUVgS7-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/pci/controller/pci-xgene.c: In function 'xgene_pcie_probe': >> drivers/pci/controller/pci-xgene.c:646:25: error: 'struct xgene_pcie' has no member named 'node' 646 | of_node_put(port->node); | ^~ vim +646 drivers/pci/controller/pci-xgene.c 603 604 static int xgene_pcie_probe(struct platform_device *pdev) 605 { 606 struct device *dev = &pdev->dev; 607 struct xgene_pcie *port; 608 struct pci_host_bridge *bridge; 609 int ret; 610 611 if (!xgene_check_pcie_msi_ready()) 612 return dev_err_probe(&pdev->dev, -EPROBE_DEFER, 613 "MSI driver not ready\n"); 614 615 bridge = devm_pci_alloc_host_bridge(dev, sizeof(*port)); 616 if (!bridge) 617 return -ENOMEM; 618 619 port = pci_host_bridge_priv(bridge); 620 621 port->dev = dev; 622 port->version = XGENE_PCIE_IP_VER_1; 623 624 ret = xgene_pcie_map_reg(port, pdev); 625 if (ret) 626 goto err_put_node; 627 628 ret = xgene_pcie_init_port(port); 629 if (ret) 630 goto err_put_node; 631 632 ret = xgene_pcie_setup(port); 633 if (ret) 634 goto err_put_node; 635 636 bridge->sysdata = port; 637 bridge->ops = &xgene_pcie_ops; 638 639 ret = pci_host_probe(bridge); 640 if (ret) 641 goto err_put_node; 642 643 return 0; 644 645 err_put_node: > 646 of_node_put(port->node); 647 return ret; 648 } 649 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki