From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bmailout1.hostsharing.net (bmailout1.hostsharing.net [83.223.95.100]) (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 B600D292B26; Mon, 16 Jun 2025 12:52:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=83.223.95.100 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750078334; cv=none; b=QVia7qIzCyTugIVOQ+f+ubpVHOVR6uVfoofgrG0I7sGAmCJBhTKFveLTZnKwtBD13ClOO+geGcY+i10ZgL6x190RwkLG7AYvjO9a3Yt+DTo/LMNvVn8gCGMwyDcW7lp9KH8RMTILJsNFKRfSlyRSTLo+bq28H8XMNbu/wv+1lB0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750078334; c=relaxed/simple; bh=6xuUaOxVjIGGdUPU2zBAW95dgaz27lfobqcLbo33+48=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rbQQvJIBWfGVb0snrReKu0t42jGtaFyHx+jkgWZjKCoNd6UAxrear0ODggFyDomKiLnu1lM+rmR7cuYAVBYCsG+Dt/+lpLqGPu0LzeDaJLqCmeQa/M95ZIZp6gW77+RJQ0i55LA/lwCC6cuvxiWGvIUmfM+UyLMEsywQvvdiSqc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de; spf=none smtp.mailfrom=h08.hostsharing.net; arc=none smtp.client-ip=83.223.95.100 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=h08.hostsharing.net Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "*.hostsharing.net", Issuer "RapidSSL TLS RSA CA G1" (verified OK)) by bmailout1.hostsharing.net (Postfix) with ESMTPS id D10012C06842; Mon, 16 Jun 2025 14:52:03 +0200 (CEST) Received: by h08.hostsharing.net (Postfix, from userid 100393) id C953E71D00; Mon, 16 Jun 2025 14:52:03 +0200 (CEST) Date: Mon, 16 Jun 2025 14:52:03 +0200 From: Lukas Wunner To: Manivannan Sadhasivam Cc: brgl@bgdev.pl, kernel test robot , bhelgaas@google.com, oe-kbuild-all@lists.linux.dev, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Jim Quinlan , Bjorn Helgaas Subject: Re: [PATCH v3] PCI/pwrctrl: Move pci_pwrctrl_create_device() definition to drivers/pci/pwrctrl/ Message-ID: References: <20250616053209.13045-1-mani@kernel.org> <202506162013.go7YyNYL-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=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Jun 16, 2025 at 06:07:48PM +0530, Manivannan Sadhasivam wrote: > On Mon, Jun 16, 2025 at 08:21:20PM +0800, kernel test robot wrote: > > ld: drivers/pci/probe.o: in function `pci_scan_single_device': > > >> probe.c:(.text+0x2400): undefined reference to `pci_pwrctrl_create_device' > > Hmm, so we cannot have a built-in driver depend on a module... Does it work if you export pci_pwrctrl_create_device()? Thanks, Lukas