Thread (2 messages) 2 messages, 2 authors, 2026-01-22

Re: [PATCH] bus: fsl-mc: declare fsl_mc_bus_dpdbg_type static

From: Ioana Ciornei <ioana.ciornei@nxp.com>
Date: 2026-01-22 14:31:24
Also in: lkml

On Fri, Jan 16, 2026 at 01:23:33PM +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?

fsl_mc_bus_dpdbg_type is not used outside of fsl-mc-bus.c

Remove the EXPORT_SYMBOL and declare it static.

Fixes: e70ba1b06c26 ("bus: fsl-mc: add the dpdbg device type")
Signed-off-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Thanks a lot for this patch. I'm sorry for the really late reply.

I did test this and I am ok with the approach but since it was already
applied, I'm not going to give a tag.

Ioana
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help