All of lore.kernel.org
 help / color / mirror / Atom feed
* [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?
@ 2026-06-16 23:46 kernel test robot
  2026-06-17  6:57 ` Luca Ceresoli
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2026-06-16 23:46 UTC (permalink / raw)
  To: Damon Ding; +Cc: oe-kbuild-all, Luca Ceresoli

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	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] 3+ messages in thread

* 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?
  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
  2026-06-17  7:34   ` Damon Ding
  0 siblings, 1 reply; 3+ messages in thread
From: Luca Ceresoli @ 2026-06-17  6:57 UTC (permalink / raw)
  To: Damon Ding; +Cc: oe-kbuild-all, Luca Ceresoli, kernel test robot

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* 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?
  2026-06-17  6:57 ` Luca Ceresoli
@ 2026-06-17  7:34   ` Damon Ding
  0 siblings, 0 replies; 3+ messages in thread
From: Damon Ding @ 2026-06-17  7:34 UTC (permalink / raw)
  To: Luca Ceresoli; +Cc: oe-kbuild-all, kernel test robot

Hi Luca,

On 6/17/2026 2:57 PM, Luca Ceresoli wrote:
> 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 for the heads-up. I'll send a fix patch soon.

Best regards,
Damon


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-06-17  7:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2026-06-17  7:34   ` Damon Ding

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.