tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: b01d57bfdc41c8f635b08b8a5af8a31217d46936 commit: 2ce0893b9b8168d4b0e2e00cf3208dae4b964aab [2914/3213] vsprintf: dump full information of page flags in pGp config: i386-randconfig-r001-20210309 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=2ce0893b9b8168d4b0e2e00cf3208dae4b964aab git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 2ce0893b9b8168d4b0e2e00cf3208dae4b964aab # save the attached .config to linux build tree make W=1 ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): lib/test_printf.c: In function 'page_flags_test': >> lib/test_printf.c:595:17: error: 'sec' undeclared (first use in this function); did you mean 'sem'? 595 | page_flags |= (sec & SECTIONS_MASK) << SECTIONS_PGSHIFT; | ^~~ | sem lib/test_printf.c:595:17: note: each undeclared identifier is reported only once for each function it appears in vim +595 lib/test_printf.c 579 580 static void __init 581 page_flags_test(int section, int node, int zone, int last_cpupid, 582 int kasan_tag, int flags, const char *name, char *cmp_buf) 583 { 584 unsigned long page_flags = 0; 585 unsigned long size = 0; 586 587 flags &= BIT(NR_PAGEFLAGS) - 1; 588 if (flags) { 589 page_flags |= flags; 590 snprintf(cmp_buf + size, BUF_SIZE - size, "%s|", name); 591 size = strlen(cmp_buf); 592 } 593 594 #ifdef SECTION_IN_PAGE_FLAGS > 595 page_flags |= (sec & SECTIONS_MASK) << SECTIONS_PGSHIFT; 596 snprintf(cmp_buf + size, BUF_SIZE - size, "section=%#x|", sec); 597 size = strlen(cmp_buf); 598 #endif 599 600 page_flags |= ((node & NODES_MASK) << NODES_PGSHIFT) | 601 ((zone & ZONES_MASK) << ZONES_PGSHIFT); 602 snprintf(cmp_buf + size, BUF_SIZE - size, "node=%d|zone=%d", node, zone); 603 size = strlen(cmp_buf); 604 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip