tree: git://git.cmpxchg.org/linux-mmotm.git master head: f6a6014bf6b3c724cff30194681f219ac230c898 commit: b1e17e02f94bd2dec7547553e3cc5330f497193c [301/497] mm: hugetlb: proc: add HugetlbPages field to /proc/PID/status config: i386-randconfig-i1-201532 (attached as .config) reproduce: git checkout b1e17e02f94bd2dec7547553e3cc5330f497193c # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): mm/hugetlb.c: In function 'hugetlb_report_usage': >> mm/hugetlb.c:2812:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] huge_page_size(&hstates[i]) >> 10); ^ vim +2812 mm/hugetlb.c 2796 unsigned long total_usage = 0; 2797 2798 for (i = 0; i < HUGE_MAX_HSTATE; i++) { 2799 total_usage += atomic_long_read(&mm->hugetlb_usage.count[i]) * 2800 (huge_page_size(&hstates[i]) >> 10); 2801 } 2802 2803 seq_printf(m, "HugetlbPages:\t%8lu kB (", total_usage); 2804 for (i = 0; i < HUGE_MAX_HSTATE; i++) { 2805 if (huge_page_order(&hstates[i]) == 0) 2806 break; 2807 if (i > 0) 2808 seq_puts(m, " "); 2809 2810 seq_printf(m, "%ldx%dkB", 2811 atomic_long_read(&mm->hugetlb_usage.count[i]), > 2812 huge_page_size(&hstates[i]) >> 10); 2813 } 2814 seq_puts(m, ")\n"); 2815 } 2816 2817 /* Return the number pages of memory we physically have, in PAGE_SIZE units. */ 2818 unsigned long hugetlb_total_pages(void) 2819 { 2820 struct hstate *h; --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation