From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3EB7D1E5201 for ; Wed, 7 Jan 2026 05:30:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767763828; cv=none; b=ElbjRF7oCEANhqjhEdCOqFlm19TJ9RjaHvvx8Smh2r+LQulRPO68cukobdzmQWqRE3zV+5fZRb8X1HgmY1v55LVmH4GPSI5OQ7zNki+huS9pjORspnQxGsVPzT43ndOSeKGjObtvR9OY+X3vTC5LB93gOUIWp2uacT9nb6Cb3dE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767763828; c=relaxed/simple; bh=4/ZQf8VUUfoUZh1OPYhG0F92DKQ4JV2XdIHkXpnMYdQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sZ0zubqrmiWARTBNEcpiFpQY8NOgX8Cs0rQAtIYLg8y2BFYyn0wQ2EUlf1DgMnYhB53Jf5PLyT9TMtv3UkZLF4i8ukVGKO5Yec2NJF60Dhg1EEjR1pN+fbHhVDtFVrHsQ6eDaYgeWQtWIHMau++YGBm8QRfk2I+Mhuz8VFdmJ0Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=0aPQ/Qco; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="0aPQ/Qco" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 27671C4CEF7; Wed, 7 Jan 2026 05:30:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767763827; bh=4/ZQf8VUUfoUZh1OPYhG0F92DKQ4JV2XdIHkXpnMYdQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=0aPQ/QcomjudM2w+aZ6vT6EgNKEfBUjVnU4lT2k6WugoJ+ZdHVdc12uDMziqBi+M4 qJ/QeNTv9U75LAzW9pp/BvqcxsgrhnepgzAqiQVcQPGwQvbi4aWZimds7rtjOYkFtO d81YrJEnibCiiMzVLqiqNmktYxeXk/WIshewk5qE= Date: Wed, 7 Jan 2026 06:30:24 +0100 From: Greg Kroah-Hartman To: "Christophe Leroy (CS GROUP)" Cc: Ioana Ciornei , Laurentiu Tudor , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] bus: fsl-mc: add missing fsl_mc_bus_dpdbg_type declaration Message-ID: <2026010755-registrar-agreeably-a626@gregkh> References: 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: On Tue, Jan 06, 2026 at 07:54:21PM +0100, Christophe Leroy (CS GROUP) wrote: > Fix following sparse warning: > > CHECK drivers/bus/fsl-mc/fsl-mc-bus.c > drivers/bus/fsl-mc/fsl-mc-bus.c:435:26: warning: symbol 'fsl_mc_bus_dpdbg_type' was not declared. Should it be static? > > As it is exported it can't be static. So declare it in mc.h like > all other similar objects. > > Fixes: e70ba1b06c26 ("bus: fsl-mc: add the dpdbg device type") > Signed-off-by: Christophe Leroy (CS GROUP) > --- > include/linux/fsl/mc.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/linux/fsl/mc.h b/include/linux/fsl/mc.h > index 897d6211c1635..28441a456bb48 100644 > --- a/include/linux/fsl/mc.h > +++ b/include/linux/fsl/mc.h > @@ -451,6 +451,7 @@ extern const struct device_type fsl_mc_bus_dpdcei_type; > extern const struct device_type fsl_mc_bus_dpaiop_type; > extern const struct device_type fsl_mc_bus_dpci_type; > extern const struct device_type fsl_mc_bus_dpdmai_type; > +extern const struct device_type fsl_mc_bus_dpdbg_type; As it's obviously not used anywhere, this should not be the fix, please just mark it static and remove the EXPORT_SYMBOL_GPL() as well. thanks, greg k-h