public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [tglx-devel:x86/topology 30/73] arch/x86/hyperv/hv_vtl.c:29:19: error: no member named 'find_smp_config' in 'struct x86_init_mpparse'; did you mean 'get_smp_config'?
Date: Wed, 22 Nov 2023 01:08:52 +0800	[thread overview]
Message-ID: <202311220123.GmPxx6VY-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git x86/topology
head:   4fe0e2152c0eca6ed0c790ace47809c2c9e62708
commit: cde477ffc7d4bae2cefa239dddb4d2465b75edaa [30/73] x86/mpparse: Rename default_find_smp_config()
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20231122/202311220123.GmPxx6VY-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231122/202311220123.GmPxx6VY-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/202311220123.GmPxx6VY-lkp@intel.com/

All errors (new ones prefixed by >>):

>> arch/x86/hyperv/hv_vtl.c:29:19: error: no member named 'find_smp_config' in 'struct x86_init_mpparse'; did you mean 'get_smp_config'?
           x86_init.mpparse.find_smp_config = x86_init_noop;
                            ^~~~~~~~~~~~~~~
                            get_smp_config
   arch/x86/include/asm/x86_init.h:24:9: note: 'get_smp_config' declared here
           void (*get_smp_config)(unsigned int early);
                  ^
   1 error generated.


vim +29 arch/x86/hyperv/hv_vtl.c

3be1bc2fe9d2e4 Saurabh Sengar 2023-04-10  18  
3be1bc2fe9d2e4 Saurabh Sengar 2023-04-10  19  void __init hv_vtl_init_platform(void)
3be1bc2fe9d2e4 Saurabh Sengar 2023-04-10  20  {
3be1bc2fe9d2e4 Saurabh Sengar 2023-04-10  21  	pr_info("Linux runs in Hyper-V Virtual Trust Level\n");
3be1bc2fe9d2e4 Saurabh Sengar 2023-04-10  22  
cb6aeeb69af06b Saurabh Sengar 2023-04-24  23  	x86_platform.realmode_reserve = x86_init_noop;
cb6aeeb69af06b Saurabh Sengar 2023-04-24  24  	x86_platform.realmode_init = x86_init_noop;
3be1bc2fe9d2e4 Saurabh Sengar 2023-04-10  25  	x86_init.irqs.pre_vector_init = x86_init_noop;
3be1bc2fe9d2e4 Saurabh Sengar 2023-04-10  26  	x86_init.timers.timer_init = x86_init_noop;
3be1bc2fe9d2e4 Saurabh Sengar 2023-04-10  27  
9e2d0c33652470 Saurabh Sengar 2023-06-23  28  	/* Avoid searching for BIOS MP tables */
9e2d0c33652470 Saurabh Sengar 2023-06-23 @29  	x86_init.mpparse.find_smp_config = x86_init_noop;
9e2d0c33652470 Saurabh Sengar 2023-06-23  30  	x86_init.mpparse.get_smp_config = x86_init_uint_noop;
9e2d0c33652470 Saurabh Sengar 2023-06-23  31  
3be1bc2fe9d2e4 Saurabh Sengar 2023-04-10  32  	x86_platform.get_wallclock = get_rtc_noop;
3be1bc2fe9d2e4 Saurabh Sengar 2023-04-10  33  	x86_platform.set_wallclock = set_rtc_noop;
3be1bc2fe9d2e4 Saurabh Sengar 2023-04-10  34  	x86_platform.get_nmi_reason = hv_get_nmi_reason;
3be1bc2fe9d2e4 Saurabh Sengar 2023-04-10  35  
3be1bc2fe9d2e4 Saurabh Sengar 2023-04-10  36  	x86_platform.legacy.i8042 = X86_LEGACY_I8042_PLATFORM_ABSENT;
3be1bc2fe9d2e4 Saurabh Sengar 2023-04-10  37  	x86_platform.legacy.rtc = 0;
3be1bc2fe9d2e4 Saurabh Sengar 2023-04-10  38  	x86_platform.legacy.warm_reset = 0;
3be1bc2fe9d2e4 Saurabh Sengar 2023-04-10  39  	x86_platform.legacy.reserve_bios_regions = 0;
3be1bc2fe9d2e4 Saurabh Sengar 2023-04-10  40  	x86_platform.legacy.devices.pnpbios = 0;
3be1bc2fe9d2e4 Saurabh Sengar 2023-04-10  41  }
3be1bc2fe9d2e4 Saurabh Sengar 2023-04-10  42  

:::::: The code at line 29 was first introduced by commit
:::::: 9e2d0c336524706fb327e9b87477f5f3337ad7a6 x86/hyperv: add noop functions to x86_init mpparse functions

:::::: TO: Saurabh Sengar <ssengar@linux.microsoft.com>
:::::: CC: Wei Liu <wei.liu@kernel.org>

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

                 reply	other threads:[~2023-11-21 17:09 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=202311220123.GmPxx6VY-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=tglx@linutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox