From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 38A347F47F for ; Thu, 18 Jul 2024 15:32:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721316752; cv=none; b=EpUoNJRnfgN8lBjGfDaTRu4YDwIADgsibrvzbC9xIdHMPm2se3qk8mDpkMZidR6ZH1c8eCWE4mWG8dqOa5iBnlrqZQ2l8ToWSYSIL5TnPbjMH7/OXF9Lgsn6VZfkVseTNvOlWUIpWoeoLBPVcKPAT3EWxliB5UJm4PFC0totWO4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721316752; c=relaxed/simple; bh=SxG1ASYLsMrU0kDyDUipqhlJ9B6sVkkOS47Rc8N5N5g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IukYFbwg492kMSAMEiM2zJ14dfP6WVcYi7AituuX4vY85SkYkp6Fg8DqmAsoEN9c/gWqpovCQhfc8/I9xCpUi4gSyyJ9wf9C64yVdJBYewkrspRiy5F2GEiyO5NcZNuAk6PSPljliPx9eUfBnUEZMo6lyrMJX63VdVa/20pofik= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=arVr77ff; arc=none smtp.client-ip=209.85.210.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="arVr77ff" Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-70b2a0542c2so834719b3a.3 for ; Thu, 18 Jul 2024 08:32:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721316749; x=1721921549; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=bkRar3slz7hJZqaXjGSF9G7hp2Ej2xf1+rvgWJbYK7s=; b=arVr77ff6Ijnnt3AP1TsCcMOwiyauN3B8Bfqv61rUghsA7kqHlXu2+MTaCLoR6LIMQ O4wcWtPMBgREF2dUQNgG5Lm4YudK8flKApaWus03iVUHU98j9moVvXZlINAAnGnW6MjK hXuAc+K3zdL6RdALPrsSinB0JXEj6tsxD2EyXjHdNqwd3PyZvKun+C8T6GEZlDiVaeUK ikIcAq0G+NHz4rOQz7qku2DCFBZ/V3+a6uylu6LeI3pptT5CdcbapGJyAsnNaspUDymT dPmYk68YzmRm20WhmutS04KlbAvOFMupoW72X4syp43m49fmejGVATPj6TTVTQFJDzRC FOOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721316749; x=1721921549; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=bkRar3slz7hJZqaXjGSF9G7hp2Ej2xf1+rvgWJbYK7s=; b=AhU9kGKISED9dbPJxOIETGwpINttdeZKA9QazWEEx9RgYtwBBqwI38uhxeMiFcbX6q bzYgQHljFJPjdHaRcKEXa9V4J15YFuMRdpmsLuasZPS4gArJfH6rF1tVoEC1r3bICJZM 0j4OsFRbU62eA6+J8l4ytkDAuO2ZW90TWSnRjfvHfG3U+F5iQcvptLrA7j13FqVTQWXf je6gCaUX9RKIggHsyVK6R4JZaz4F7r4EuikNIvRp3Apx/tN+6C+9XvI89Jmb5S+Wk0Zc sbOdia4NB6qY2/yz2V3I1QxngTYVggCJjlJ1XsX80KhQrC37kxbeER9xSovPbv4FiF1y vNYw== X-Forwarded-Encrypted: i=1; AJvYcCXIGsHY8F1wlzuPvL5NSCF4O+ASz9XcIYJOfHr4c1hVt0FX1Eo/62cBbU09StvT5rIo6lMJ0kBBP4hFBVx+bwg6pvNRPlyE9YytxUQw X-Gm-Message-State: AOJu0YyFrU/k4fopMkPXBXY6agWaA16mOmE2dPIHEhbHeFtrSLgtANOQ wfhPZLkAMG0UmHZzYEAzeYuDihaQ7994abd6siaIO8wnMtt9M0NrWoQ41tdgDw== X-Google-Smtp-Source: AGHT+IHwqe0qbmW64lMeNZxU2073BikrKx2fkaL5ub30I0frTef3EcqycRabEGKv1T6KPokdE7NW+Q== X-Received: by 2002:a05:6a00:17a1:b0:70b:152:331 with SMTP id d2e1a72fcca58-70ce50fd642mr6633828b3a.21.1721316749427; Thu, 18 Jul 2024 08:32:29 -0700 (PDT) Received: from thinkpad ([120.56.207.21]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70b7eca75a6sm10149750b3a.164.2024.07.18.08.32.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jul 2024 08:32:29 -0700 (PDT) Date: Thu, 18 Jul 2024 21:02:23 +0530 From: Manivannan Sadhasivam To: kernel test robot Cc: Manivannan Sadhasivam via B4 Relay , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Krzysztof Kozlowski , Conor Dooley , Kishon Vijay Abraham I , Bjorn Andersson , Konrad Dybcio , llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v2 05/13] PCI: endpoint: Assign PCI domain number for endpoint controllers Message-ID: <20240718153223.GB2499@thinkpad> References: <20240717-pci-qcom-hotplug-v2-5-71d304b817f8@linaro.org> <202407182239.m0d1pKRB-lkp@intel.com> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202407182239.m0d1pKRB-lkp@intel.com> On Thu, Jul 18, 2024 at 11:04:04PM +0800, kernel test robot wrote: > Hi Manivannan, > > kernel test robot noticed the following build errors: > > [auto build test ERROR on 91e3b24eb7d297d9d99030800ed96944b8652eaf] > > url: https://github.com/intel-lab-lkp/linux/commits/Manivannan-Sadhasivam-via-B4-Relay/PCI-qcom-ep-Drop-the-redundant-masking-of-global-IRQ-events/20240718-010848 > base: 91e3b24eb7d297d9d99030800ed96944b8652eaf > patch link: https://lore.kernel.org/r/20240717-pci-qcom-hotplug-v2-5-71d304b817f8%40linaro.org > patch subject: [PATCH v2 05/13] PCI: endpoint: Assign PCI domain number for endpoint controllers > config: i386-buildonly-randconfig-004-20240718 (https://download.01.org/0day-ci/archive/20240718/202407182239.m0d1pKRB-lkp@intel.com/config) > compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1) > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240718/202407182239.m0d1pKRB-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/202407182239.m0d1pKRB-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > >> drivers/pci/endpoint/pci-epc-core.c:843:3: error: call to undeclared function 'pci_bus_release_domain_nr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] > 843 | pci_bus_release_domain_nr(NULL, &epc->dev); > | ^ Hmm, should've used #ifdef as compiler can still access the statements under 'if(IS_ENABLED())' condition. - Mani > drivers/pci/endpoint/pci-epc-core.c:843:3: note: did you mean 'pci_bus_release_busn_res'? > include/linux/pci.h:1142:6: note: 'pci_bus_release_busn_res' declared here > 1142 | void pci_bus_release_busn_res(struct pci_bus *b); > | ^ > drivers/pci/endpoint/pci-epc-core.c:911:20: error: call to undeclared function 'pci_bus_find_domain_nr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] > 911 | epc->domain_nr = pci_bus_find_domain_nr(NULL, dev); > | ^ > 2 errors generated. > > > vim +/pci_bus_release_domain_nr +843 drivers/pci/endpoint/pci-epc-core.c > > 830 > 831 /** > 832 * pci_epc_destroy() - destroy the EPC device > 833 * @epc: the EPC device that has to be destroyed > 834 * > 835 * Invoke to destroy the PCI EPC device > 836 */ > 837 void pci_epc_destroy(struct pci_epc *epc) > 838 { > 839 pci_ep_cfs_remove_epc_group(epc->group); > 840 device_unregister(&epc->dev); > 841 > 842 if (IS_ENABLED(CONFIG_PCI_DOMAINS_GENERIC)) > > 843 pci_bus_release_domain_nr(NULL, &epc->dev); > 844 } > 845 EXPORT_SYMBOL_GPL(pci_epc_destroy); > 846 > > -- > 0-DAY CI Kernel Test Service > https://github.com/intel/lkp-tests/wiki -- மணிவண்ணன் சதாசிவம்