* [liam:maple_marks_v4 9/16] lib/test_maple_tree.c:426:21: error: assignment to 'long unsigned int *' from 'int' makes pointer from integer without a cast
@ 2026-09-14 7:52 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-14 7:52 UTC (permalink / raw)
To: Liam R. Howlett; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/liam/linux.git maple_marks_v4
head: de1ab7ba20a1402fb09d82f56c37732e65e1b0f7
commit: 59685a5ddca1208bbdcbb990f5cacabb224b369f [9/16] maple_tree: Testing code update for triple split
config: x86_64-randconfig-013-20260914 (https://download.01.org/0day-ci/archive/20260914/202609141550.O2fApGkn-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260914/202609141550.O2fApGkn-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/202609141550.O2fApGkn-lkp@intel.com/
All errors (new ones prefixed by >>):
lib/test_maple_tree.c: In function 'mas_node_fill':
lib/test_maple_tree.c:356:36: error: implicit declaration of function 'mt_slot_count' [-Wimplicit-function-declaration]
356 | if (mas->max - mas->min <= mt_slot_count(mas->node))
| ^~~~~~~~~~~~~
lib/test_maple_tree.c:359:15: error: implicit declaration of function 'mas_data_end' [-Wimplicit-function-declaration]
359 | val = mas_data_end(mas) + 1;
| ^~~~~~~~~~~~
lib/test_maple_tree.c: In function 'test_mas_node_depth':
lib/test_maple_tree.c:420:9: error: implicit declaration of function 'mas_start'; did you mean 'mas_store'? [-Wimplicit-function-declaration]
420 | mas_start(mas);
| ^~~~~~~~~
| mas_store
lib/test_maple_tree.c:426:23: error: implicit declaration of function 'ma_pivots' [-Wimplicit-function-declaration]
426 | piv = ma_pivots(mas_mn(mas), mte_node_type(mas->node));
| ^~~~~~~~~
lib/test_maple_tree.c:426:33: error: implicit declaration of function 'mas_mn' [-Wimplicit-function-declaration]
426 | piv = ma_pivots(mas_mn(mas), mte_node_type(mas->node));
| ^~~~~~
lib/test_maple_tree.c:426:46: error: implicit declaration of function 'mte_node_type' [-Wimplicit-function-declaration]
426 | piv = ma_pivots(mas_mn(mas), mte_node_type(mas->node));
| ^~~~~~~~~~~~~
>> lib/test_maple_tree.c:426:21: error: assignment to 'long unsigned int *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
426 | piv = ma_pivots(mas_mn(mas), mte_node_type(mas->node));
| ^
lib/test_maple_tree.c:432:17: error: implicit declaration of function 'mas_descend'; did you mean 'mas_reset'? [-Wimplicit-function-declaration]
432 | mas_descend(mas);
| ^~~~~~~~~~~
| mas_reset
lib/test_maple_tree.c: In function 'mas_internal_node_fill':
lib/test_maple_tree.c:443:30: error: implicit declaration of function 'mte_is_leaf' [-Wimplicit-function-declaration]
443 | MT_BUG_ON(mas->tree, mte_is_leaf(mas->node));
| ^~~~~~~~~~~
lib/test_maple_tree.c:30:13: note: in definition of macro 'MT_BUG_ON'
30 | if (__x) { \
| ^~~
lib/test_maple_tree.c: In function 'check_ranges':
lib/test_maple_tree.c:1528:65: error: subscripted value is neither array nor pointer nor vector
1528 | index = ma_pivots(mas_mn(&mas), mte_node_type(mas.node))[7] + 1;
| ^
lib/test_maple_tree.c:1535:65: error: subscripted value is neither array nor pointer nor vector
1535 | index = ma_pivots(mas_mn(&mas), mte_node_type(mas.node))[8] + 1;
| ^
vim +426 lib/test_maple_tree.c
415
416 static noinline void __init test_mas_node_depth(struct ma_state *mas,
417 int depth)
418 {
419 mas_reset(mas);
420 mas_start(mas);
421 while (mas->depth < depth) {
422 unsigned long *piv;
423 int count, offset;
424
425 count = mas_data_end(mas);
> 426 piv = ma_pivots(mas_mn(mas), mte_node_type(mas->node));
427 offset = 0;
428 while (offset < count && mas->index > piv[offset]) {
429 offset++;
430 }
431 mas->offset = offset;
432 mas_descend(mas);
433 mas->depth++;
434 }
435
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-14 7:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-14 7:52 [liam:maple_marks_v4 9/16] lib/test_maple_tree.c:426:21: error: assignment to 'long unsigned int *' from 'int' makes pointer from integer without a cast kernel test robot
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.