arch/x86/kernel/vmlinux.lds.S:476:1: warning: '/*' within block comment
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable head: dc683247117ee018e5da6b04f1c499acdc2a1418 commit: 05d94eeb2ac3d97760162ceaa779c03a479a8fb9 [25/176] x86-disable-image-size-check-for-test-builds-fix config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20250419/[email protected]/config) compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250419/[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 warnings (new ones prefixed by >>):
>> arch/x86/kernel/vmlinux.lds.S:476:1: warning: '/*' within block comment [-Wcomment]
476 | /*
| ^1 warning generated.
vim +476 arch/x86/kernel/vmlinux.lds.S
467
468 /*
469 * COMPILE_TEST kernels can be large - CONFIG_KASAN, for example, can cause
470 * this. Let's assume that nobody will be running a COMPILE_TEST kernel and
471 * let's assert that fuller build coverage is more valuable than being able to
472 * run a COMPILE_TEST kernel.
473 */
474 #ifndef CONFIG_COMPILE_TEST
475 /*
> 476 /*
477 * The ASSERT() sync to . is intentional, for binutils 2.14 compatibility:
478 */
479 . = ASSERT((_end - LOAD_OFFSET <= KERNEL_IMAGE_SIZE),
480 "kernel image bigger than KERNEL_IMAGE_SIZE");
481 #endif
482
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki