All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Chen-Yu Tsai <wenst@chromium.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [wens:mtk-wip 31/52] drivers/gpu/drm/drm_mipi_dsi.c:1421:56: error: 'mipi_dsi_of_notifier' undeclared
Date: Sun, 25 Feb 2024 23:05:46 +0800	[thread overview]
Message-ID: <202402252241.NfdO6aWr-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-02-25 15:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202402252241.NfdO6aWr-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=wenst@chromium.org \
    /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.