Re: [PATCH v6 86/90] x86/cpu/transmeta: Remove x86_capability[] CPUID initialization
kernel test robot <[email protected]> Sat, 28 Mar 2026 06:56:02 +0800
| Newsgroups | dev.linux.lists.x86-cpuid,dev.linux.lists.llvm,dev.linux.lists.oe-kbuild-all,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Hi Ahmed, kernel test robot noticed the following build errors: [auto build test ERROR on c369299895a591d96745d6492d4888259b004a9e] url: https://github.com/intel-lab-lkp/linux/commits/Ahmed-S-Darwish/ASoC-Intel-avs-Check-maximum-valid-CPUID-leaf/20260327-215933 base: c369299895a591d96745d6492d4888259b004a9e patch link: https://lore.kernel.org/r/20260327021645.555257-87-darwi%40linutronix.de patch subject: [PATCH v6 86/90] x86/cpu/transmeta: Remove x86_capability[] CPUID initialization config: i386-buildonly-randconfig-001-20260328 (https://download.01.org/0day-ci/archive/20260328/[email protected]/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260328/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All errors (new ones prefixed by >>): >> arch/x86/kernel/cpu/transmeta.c:70:2: error: call to undeclared function 'early_init_transmeta'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | early_init_transmeta(c); | ^ arch/x86/kernel/cpu/transmeta.c:70:2: note: did you mean 'init_transmeta'? arch/x86/kernel/cpu/transmeta.c:66:13: note: 'init_transmeta' declared here 66 | static void init_transmeta(struct cpuinfo_x86 *c) | ^ 67 | { 68 | unsigned int cap_mask, uk; 69 | 70 | early_init_transmeta(c); | ~~~~~~~~~~~~~~~~~~~~ | init_transmeta 1 error generated. vim +/early_init_transmeta +70 arch/x86/kernel/cpu/transmeta.c fe8a36b887f719b arch/x86/kernel/cpu/transmeta.c Ahmed S. Darwish 2026-03-27 65 fe8a36b887f719b arch/x86/kernel/cpu/transmeta.c Ahmed S. Darwish 2026-03-27 66 static void init_transmeta(struct cpuinfo_x86 *c) fe8a36b887f719b arch/x86/kernel/cpu/transmeta.c Ahmed S. Darwish 2026-03-27 67 { fe8a36b887f719b arch/x86/kernel/cpu/transmeta.c Ahmed S. Darwish 2026-03-27 68 unsigned int cap_mask, uk; fe8a36b887f719b arch/x86/kernel/cpu/transmeta.c Ahmed S. Darwish 2026-03-27 69 fe8a36b887f719b arch/x86/kernel/cpu/transmeta.c Ahmed S. Darwish 2026-03-27 @70 early_init_transmeta(c); fe8a36b887f719b arch/x86/kernel/cpu/transmeta.c Ahmed S. Darwish 2026-03-27 71 cpu_detect_cache_sizes(c); fe8a36b887f719b arch/x86/kernel/cpu/transmeta.c Ahmed S. Darwish 2026-03-27 72 fe8a36b887f719b arch/x86/kernel/cpu/transmeta.c Ahmed S. Darwish 2026-03-27 73 print_cpu_revision(c); fe8a36b887f719b arch/x86/kernel/cpu/transmeta.c Ahmed S. Darwish 2026-03-27 74 print_cpu_info_string(c); ^1da177e4c3f415 arch/i386/kernel/cpu/transmeta.c Linus Torvalds 2005-04-16 75 ^1da177e4c3f415 arch/i386/kernel/cpu/transmeta.c Linus Torvalds 2005-04-16 76 /* Unhide possibly hidden capability flags */ ^1da177e4c3f415 arch/i386/kernel/cpu/transmeta.c Linus Torvalds 2005-04-16 77 rdmsr(0x80860004, cap_mask, uk); ^1da177e4c3f415 arch/i386/kernel/cpu/transmeta.c Linus Torvalds 2005-04-16 78 wrmsr(0x80860004, ~0, uk); 3ad602b4fa9f922 arch/x86/kernel/cpu/transmeta.c Ahmed S. Darwish 2026-03-27 79 cpuid_refresh_leaf(c, 0x1); ^1da177e4c3f415 arch/i386/kernel/cpu/transmeta.c Linus Torvalds 2005-04-16 80 wrmsr(0x80860004, cap_mask, uk); ^1da177e4c3f415 arch/i386/kernel/cpu/transmeta.c Linus Torvalds 2005-04-16 81 30b82ea08c3365a arch/i386/kernel/cpu/transmeta.c H. Peter Anvin 2007-02-13 82 /* All Transmeta CPUs have a constant TSC */ 10cd5a1e5403d79 arch/x86/kernel/cpu/transmeta.c Ingo Molnar 2008-02-26 83 set_cpu_cap(c, X86_FEATURE_CONSTANT_TSC); 30b82ea08c3365a arch/i386/kernel/cpu/transmeta.c H. Peter Anvin 2007-02-13 84 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki