From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) (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 385974D8B7 for ; Thu, 18 Jul 2024 15:32:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721316753; cv=none; b=Di4rZ1O/VSbFU9zBpiTejVInZshO9pvhARQmCSfq6MTjlxvklWoU69JjE9PQUbfT9M3L9v7dyZvxlGNW58Hy2ymKL5TVMy5X5/gUjT2wB++PR8nq/M678CuSlQ8j2pLpxV4fwbixQfMfgUkUhfwf7xUFgYkTz89rbCTxuhX+OS4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721316753; c=relaxed/simple; bh=SxG1ASYLsMrU0kDyDUipqhlJ9B6sVkkOS47Rc8N5N5g=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NbagrgA/TyY2pqTnu4dereSe4n/D9+GhbP7C6/2lruZD7RV8mZhaZQS9GGZA/qrtQq8iju1RduhI5QTgrZsBl2AwjAs6E624cfEY9q0HRytyGm00yRvy0xUlbF81BW5I0jnE/rFzb9g/C3Wlj0rC9VDzTCXzjNlHzyS1fmzd4iE= 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.180 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-f180.google.com with SMTP id d2e1a72fcca58-70cdc91b227so695166b3a.2 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=NEK/Nnh0EVnseEfEjIYciHeOpe7WdWs3/9rCw+Ho7mbk/LCyjVrWdtV42fdESTWJ6J tv5QsDHDlarhmFdb/HFIVL/3AMOFodxwaAghX58a+ffdLMfT0z+w2bEWanlbgBtXynlh gJc1dkC/zIACogR9/tb9qWIypth6T/HP7davQ1o/fkeru25Qz2a97jrK9EzvkfSXAFrt CVfnT/srkgMljPv+oxDjQCF+xshsYhxkrv+lFf8e7pF9GzxOpE+xSB2kiUolWrUyHNmz RAcX4tytNdpMIC/p+C1UyWruUAN56On/vuZ1ZUTXyR48RWNNW5Hi13P1kOItwcKOSBho YXXg== X-Forwarded-Encrypted: i=1; AJvYcCWNrvG9nMSHA6ENS98i+J8WM81r02FM/024IXgbRWMnNJJmSt2JPv81ZnUIigSJIZNR999poF0F6IxFwdSEfE8qPH4vptla14M8 X-Gm-Message-State: AOJu0Yz/+bBqTn1Cf3rwno8Maw3CNuv9jZOSZtBJ1vhfD3AqTYbVey07 4kecyEjP3tqMGUHGpBt20f7JJ50QKgnG3uKlgXx0tdTZb1NIPtZqJ1oNDdJ97w== 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-pci@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 -- மணிவண்ணன் சதாசிவம்