From: kernel test robot <lkp@intel.com>
To: Vitaly Wool <vitaly.wool@konsulko.se>,
linux-kernel@vger.kernel.org, linux-mm@kvack.org
Cc: oe-kbuild-all@lists.linux.dev, akpm@linux-foundation.org,
hannes@cmpxchg.org, minchan@kernel.org, nphamcs@gmail.com,
senozhatsky@chromium.org, shakeel.butt@linux.dev,
yosry.ahmed@linux.dev, Igor Belousov <igor.b@beldev.am>,
Vitaly Wool <vitaly.wool@konsulko.se>
Subject: Re: [PATCH mm-new] mm/zblock: add debugfs
Date: Mon, 28 Apr 2025 12:48:59 +0800 [thread overview]
Message-ID: <202504281254.YFJgfUac-lkp@intel.com> (raw)
In-Reply-To: <20250427201958.491806-1-vitaly.wool@konsulko.se>
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@intel.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
prev parent reply other threads:[~2025-04-28 4:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-27 20:19 [PATCH mm-new] mm/zblock: add debugfs Vitaly Wool
2025-04-28 1:32 ` kernel test robot
2025-04-28 4:48 ` kernel test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202504281254.YFJgfUac-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=hannes@cmpxchg.org \
--cc=igor.b@beldev.am \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=minchan@kernel.org \
--cc=nphamcs@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=senozhatsky@chromium.org \
--cc=shakeel.butt@linux.dev \
--cc=vitaly.wool@konsulko.se \
--cc=yosry.ahmed@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.