All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Luca Ceresoli" <luca.ceresoli@bootlin.com>
To: "Damon Ding" <damon.ding@rock-chips.com>
Cc: <oe-kbuild-all@lists.linux.dev>,
	"Luca Ceresoli" <luca.ceresoli@bootlin.com>,
	"kernel test robot" <lkp@intel.com>
Subject: Re: [linux-next:master 226/14321] drivers/gpu/drm/bridge/of-display-mode-bridge.c:54:25: sparse: sparse: symbol 'of_display_mode_bridge_funcs' was not declared. Should it be static?
Date: Wed, 17 Jun 2026 08:57:45 +0200	[thread overview]
Message-ID: <DJB4NR341PMS.WYR444583WB8@bootlin.com> (raw)
In-Reply-To: <202606170744.FUStcWaB-lkp@intel.com>

Hello Damon,

On Wed Jun 17, 2026 at 1:46 AM CEST, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   4fa3f5fabb30bf00d7475d5a33459ea83d639bf9
> commit: ba2db93cf3d569a4525a02cd0ed5ec5f979e3afd [226/14321] drm/bridge: Move legacy bridge driver out of imx directory for multi-platform use
> config: sparc64-randconfig-r133-20260617 (https://download.01.org/0day-ci/archive/20260617/202606170744.FUStcWaB-lkp@intel.com/config)
> compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project e19d1f51a2c80b63cd8ca95bcc757b7077112808)
> sparse: v0.6.5-rc1
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260617/202606170744.FUStcWaB-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 <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202606170744.FUStcWaB-lkp@intel.com/
>
> sparse warnings: (new ones prefixed by >>)
>>> drivers/gpu/drm/bridge/of-display-mode-bridge.c:54:25: sparse: sparse: symbol 'of_display_mode_bridge_funcs' was not declared. Should it be static?
>
> vim +/of_display_mode_bridge_funcs +54 drivers/gpu/drm/bridge/of-display-mode-bridge.c
>
>     53
>   > 54	struct drm_bridge_funcs of_display_mode_bridge_funcs = {
>     55		.attach = of_display_mode_bridge_attach,
>     56		.get_modes = of_display_mode_bridge_get_modes,
>     57	};
>     58

This had been reported already (Message-ID:
<202605141933.yeT5SiTT-lkp@intel.com>). Indeed this should be static const.

Do you plan to send a patch fixing it? Otherwise let me know and I can do
it.

Thanks,
Luca

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2026-06-17  6:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-16 23:46 [linux-next:master 226/14321] drivers/gpu/drm/bridge/of-display-mode-bridge.c:54:25: sparse: sparse: symbol 'of_display_mode_bridge_funcs' was not declared. Should it be static? kernel test robot
2026-06-17  6:57 ` Luca Ceresoli [this message]
2026-06-17  7:34   ` Damon Ding

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DJB4NR341PMS.WYR444583WB8@bootlin.com \
    --to=luca.ceresoli@bootlin.com \
    --cc=damon.ding@rock-chips.com \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.