From: kernel test robot <lkp@intel.com>
To: Dave Hansen <dave.hansen@linux.intel.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [daveh-devel:ucode-for-ashok 5/16] arch/x86/kernel/cpu/microcode/intel.c:769:10: error: 'struct microcode_ops' has no member named 'get_microcode_version'; did you mean 'get_microcode_revision'?
Date: Wed, 8 Feb 2023 18:14:14 +0800 [thread overview]
Message-ID: <202302081815.j0sgRhXQ-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/daveh/devel.git ucode-for-ashok
head: 01bd4486138ec018e1bb204d93e4e52190dfde21
commit: c4d034fea56852933d94732fbe044ba554aba745 [5/16] ucode-version-op-intel
config: x86_64-allmodconfig (https://download.01.org/0day-ci/archive/20230208/202302081815.j0sgRhXQ-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/daveh/devel.git/commit/?id=c4d034fea56852933d94732fbe044ba554aba745
git remote add daveh-devel https://git.kernel.org/pub/scm/linux/kernel/git/daveh/devel.git
git fetch --no-tags daveh-devel ucode-for-ashok
git checkout c4d034fea56852933d94732fbe044ba554aba745
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 olddefconfig
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arch/x86/kernel/cpu/microcode/intel.c:767:10: error: 'struct microcode_ops' has no member named 'collect_cpu_info'
767 | .collect_cpu_info = collect_cpu_info,
| ^~~~~~~~~~~~~~~~
arch/x86/kernel/cpu/microcode/intel.c:767:35: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
767 | .collect_cpu_info = collect_cpu_info,
| ^~~~~~~~~~~~~~~~
arch/x86/kernel/cpu/microcode/intel.c:767:35: note: (near initialization for 'microcode_intel_ops')
arch/x86/kernel/cpu/microcode/intel.c:767:35: error: initialization of 'void (*)(int)' from incompatible pointer type 'int (*)(int, struct cpu_signature *)' [-Werror=incompatible-pointer-types]
arch/x86/kernel/cpu/microcode/intel.c:767:35: note: (near initialization for 'microcode_intel_ops.microcode_fini_cpu')
>> arch/x86/kernel/cpu/microcode/intel.c:769:10: error: 'struct microcode_ops' has no member named 'get_microcode_version'; did you mean 'get_microcode_revision'?
769 | .get_microcode_version = intel_get_microcode_revision,
| ^~~~~~~~~~~~~~~~~~~~~
| get_microcode_revision
arch/x86/kernel/cpu/microcode/intel.c:769:35: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
769 | .get_microcode_version = intel_get_microcode_revision,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/kernel/cpu/microcode/intel.c:769:35: note: (near initialization for 'microcode_intel_ops')
arch/x86/kernel/cpu/microcode/intel.c:769:35: warning: excess elements in struct initializer
arch/x86/kernel/cpu/microcode/intel.c:769:35: note: (near initialization for 'microcode_intel_ops')
cc1: some warnings being treated as errors
vim +769 arch/x86/kernel/cpu/microcode/intel.c
764
765 static struct microcode_ops microcode_intel_ops = {
766 .request_microcode_fw = request_microcode_fw,
767 .collect_cpu_info = collect_cpu_info,
768 .apply_microcode = apply_microcode_intel,
> 769 .get_microcode_version = intel_get_microcode_revision,
770 };
771
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
next reply other threads:[~2023-02-08 10:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-08 10:14 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-02-09 8:42 [daveh-devel:ucode-for-ashok 5/16] arch/x86/kernel/cpu/microcode/intel.c:769:10: error: 'struct microcode_ops' has no member named 'get_microcode_version'; did you mean 'get_microcode_revision'? kernel test robot
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=202302081815.j0sgRhXQ-lkp@intel.com \
--to=lkp@intel.com \
--cc=dave.hansen@linux.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.