All of lore.kernel.org
 help / color / mirror / Atom feed
* [wens:mtk-wip 31/52] drivers/gpu/drm/drm_mipi_dsi.c:1421:56: error: 'mipi_dsi_of_notifier' undeclared
@ 2024-02-25 15:05 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-02-25 15:05 UTC (permalink / raw)
  To: Chen-Yu Tsai; +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/wens/linux.git mtk-wip
head:   17556f9c0c99f9bc7a5217b15d9ac204301317e8
commit: f1ca288bbc7fd436be87f32f0c7863489d92b982 [31/52] drm/mipi-dsi: Add OF notifier handler
config: i386-randconfig-004-20240225 (https://download.01.org/0day-ci/archive/20240225/202402252241.NfdO6aWr-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240225/202402252241.NfdO6aWr-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/202402252241.NfdO6aWr-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/x86/include/asm/bug.h:87,
                    from include/linux/bug.h:5,
                    from include/linux/jump_label.h:256,
                    from include/linux/static_key.h:1,
                    from arch/x86/include/asm/nospec-branch.h:6,
                    from arch/x86/include/asm/paravirt_types.h:12,
                    from arch/x86/include/asm/ptrace.h:175,
                    from arch/x86/include/asm/math_emu.h:5,
                    from arch/x86/include/asm/processor.h:13,
                    from include/linux/sched.h:13,
                    from include/linux/ratelimit.h:6,
                    from include/linux/dev_printk.h:16,
                    from include/linux/device.h:15,
                    from drivers/gpu/drm/drm_mipi_dsi.c:28:
   drivers/gpu/drm/drm_mipi_dsi.c: In function 'mipi_dsi_bus_init':
>> drivers/gpu/drm/drm_mipi_dsi.c:1421:56: error: 'mipi_dsi_of_notifier' undeclared (first use in this function)
    1421 |                 WARN_ON(of_reconfig_notifier_register(&mipi_dsi_of_notifier));
         |                                                        ^~~~~~~~~~~~~~~~~~~~
   include/asm-generic/bug.h:123:32: note: in definition of macro 'WARN_ON'
     123 |         int __ret_warn_on = !!(condition);                              \
         |                                ^~~~~~~~~
   drivers/gpu/drm/drm_mipi_dsi.c:1421:56: note: each undeclared identifier is reported only once for each function it appears in
    1421 |                 WARN_ON(of_reconfig_notifier_register(&mipi_dsi_of_notifier));
         |                                                        ^~~~~~~~~~~~~~~~~~~~
   include/asm-generic/bug.h:123:32: note: in definition of macro 'WARN_ON'
     123 |         int __ret_warn_on = !!(condition);                              \
         |                                ^~~~~~~~~


vim +/mipi_dsi_of_notifier +1421 drivers/gpu/drm/drm_mipi_dsi.c

  1417	
  1418	static int __init mipi_dsi_bus_init(void)
  1419	{
  1420		if (IS_ENABLED(CONFIG_OF_DYNAMIC))
> 1421			WARN_ON(of_reconfig_notifier_register(&mipi_dsi_of_notifier));
  1422		return bus_register(&mipi_dsi_bus_type);
  1423	}
  1424	postcore_initcall(mipi_dsi_bus_init);
  1425	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-25 15:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-25 15:05 [wens:mtk-wip 31/52] drivers/gpu/drm/drm_mipi_dsi.c:1421:56: error: 'mipi_dsi_of_notifier' undeclared kernel test robot

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.