lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202504281254.YFJgfUac-lkp@intel.com>
Date: Mon, 28 Apr 2025 12:48:59 +0800
From: kernel test robot <lkp@...el.com>
To: Vitaly Wool <vitaly.wool@...sulko.se>, linux-kernel@...r.kernel.org,
	linux-mm@...ck.org
Cc: oe-kbuild-all@...ts.linux.dev, akpm@...ux-foundation.org,
	hannes@...xchg.org, minchan@...nel.org, nphamcs@...il.com,
	senozhatsky@...omium.org, shakeel.butt@...ux.dev,
	yosry.ahmed@...ux.dev, Igor Belousov <igor.b@...dev.am>,
	Vitaly Wool <vitaly.wool@...sulko.se>
Subject: Re: [PATCH mm-new] mm/zblock: add debugfs

Hi Vitaly,

kernel test robot noticed the following build errors:

[auto build test ERROR on akpm-mm/mm-everything]

url:    https://github.com/intel-lab-lkp/linux/commits/Vitaly-Wool/mm-zblock-add-debugfs/20250428-042209
base:   https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link:    https://lore.kernel.org/r/20250427201958.491806-1-vitaly.wool%40konsulko.se
patch subject: [PATCH mm-new] mm/zblock: add debugfs
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20250428/202504281254.YFJgfUac-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250428/202504281254.YFJgfUac-lkp@intel.com/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 <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504281254.YFJgfUac-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from mm/zblock.c:28:
   mm/zblock.h:24:2: error: #error Unsupported PAGE_SIZE
      24 | #error Unsupported PAGE_SIZE
         |  ^~~~~
   In file included from include/vdso/const.h:5,
                    from include/linux/const.h:4,
                    from include/linux/bits.h:5,
                    from include/linux/ratelimit_types.h:5,
                    from include/linux/printk.h:9,
                    from include/asm-generic/bug.h:22,
                    from arch/alpha/include/asm/bug.h:23,
                    from include/linux/bug.h:5,
                    from include/linux/vfsdebug.h:5,
                    from include/linux/fs.h:5,
                    from include/linux/debugfs.h:15,
                    from mm/zblock.c:20:
   mm/zblock.h:44:40: error: 'SLOT_BITS' undeclared here (not in a function); did you mean 'SLOT_SIZE'?
      44 |         DECLARE_BITMAP(slot_info, 1 << SLOT_BITS);
         |                                        ^~~~~~~~~
   include/uapi/linux/const.h:51:40: note: in definition of macro '__KERNEL_DIV_ROUND_UP'
      51 | #define __KERNEL_DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
         |                                        ^
   include/linux/types.h:11:28: note: in expansion of macro 'BITS_TO_LONGS'
      11 |         unsigned long name[BITS_TO_LONGS(bits)]
         |                            ^~~~~~~~~~~~~
   mm/zblock.h:44:9: note: in expansion of macro 'DECLARE_BITMAP'
      44 |         DECLARE_BITMAP(slot_info, 1 << SLOT_BITS);
         |         ^~~~~~~~~~~~~~
   mm/zblock.c: In function 'zblock_blocks_show':
>> mm/zblock.c:125:66: error: 'const struct block_desc' has no member named 'num_pages'
     125 |                         i, block_list->block_count, block_desc[i].num_pages,
         |                                                                  ^
   mm/zblock.c:126:64: error: 'const struct block_desc' has no member named 'num_pages'
     126 |                         block_list->block_count * block_desc[i].num_pages);
         |                                                                ^


vim +125 mm/zblock.c

   115	
   116	static int zblock_blocks_show(struct seq_file *s, void *v)
   117	{
   118		struct zblock_pool *pool = s->private;
   119		int i;
   120	
   121		for (i = 0; i < ARRAY_SIZE(block_desc); i++) {
   122			struct block_list *block_list = &pool->block_lists[i];
   123	
   124			seq_printf(s, "%d: %ld blocks of %d pages (total %ld pages)\n",
 > 125				i, block_list->block_count, block_desc[i].num_pages,
   126				block_list->block_count * block_desc[i].num_pages);
   127		}
   128		return 0;
   129	}
   130	DEFINE_SHOW_ATTRIBUTE(zblock_blocks);
   131	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ