* Re: [PATCH 3/7] lib/rbtree: add random seed
[not found] <20250304011952.29182-4-richard.weiyang@gmail.com>
@ 2025-03-05 3:05 ` kernel test robot
2025-03-05 9:10 ` Wei Yang
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2025-03-05 3:05 UTC (permalink / raw)
To: Wei Yang, akpm; +Cc: llvm, oe-kbuild-all, willy, michel, linux-mm, Wei Yang
Hi Wei,
kernel test robot noticed the following build warnings:
[auto build test WARNING on linus/master]
[also build test WARNING on v6.14-rc5 next-20250304]
[cannot apply to akpm-mm/mm-nonmm-unstable akpm-mm/mm-everything]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Wei-Yang/lib-rbtree-enable-userland-test-suite-for-rbtree-related-data-structure/20250304-092345
base: linus/master
patch link: https://lore.kernel.org/r/20250304011952.29182-4-richard.weiyang%40gmail.com
patch subject: [PATCH 3/7] lib/rbtree: add random seed
config: i386-buildonly-randconfig-004-20250305 (https://download.01.org/0day-ci/archive/20250305/202503051009.iTp8hlJy-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250305/202503051009.iTp8hlJy-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/202503051009.iTp8hlJy-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> lib/rbtree_test.c:17:22: warning: implicit conversion from 'unsigned long long' to 'ulong' (aka 'unsigned long') changes value from 3141592653589793238 to 2721204694 [-Wconstant-conversion]
17 | __param(ulong, seed, 3141592653589793238ULL, "Random seed");
| ~~~~ ^~~~~~~~~~~~~~~~~~~~~~
lib/rbtree_test.c:10:21: note: expanded from macro '__param'
10 | static type name = init; \
| ~~~~ ^~~~
1 warning generated.
--
>> lib/interval_tree_test.c:22:22: warning: implicit conversion from 'unsigned long long' to 'ulong' (aka 'unsigned long') changes value from 3141592653589793238 to 2721204694 [-Wconstant-conversion]
22 | __param(ulong, seed, 3141592653589793238ULL, "Random seed");
| ~~~~ ^~~~~~~~~~~~~~~~~~~~~~
lib/interval_tree_test.c:10:21: note: expanded from macro '__param'
10 | static type name = init; \
| ~~~~ ^~~~
1 warning generated.
vim +17 lib/rbtree_test.c
8
9 #define __param(type, name, init, msg) \
10 static type name = init; \
11 module_param(name, type, 0444); \
12 MODULE_PARM_DESC(name, msg);
13
14 __param(int, nnodes, 100, "Number of nodes in the rb-tree");
15 __param(int, perf_loops, 1000, "Number of iterations modifying the rb-tree");
16 __param(int, check_loops, 100, "Number of iterations modifying and verifying the rb-tree");
> 17 __param(ulong, seed, 3141592653589793238ULL, "Random seed");
18
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 3/7] lib/rbtree: add random seed
2025-03-05 3:05 ` [PATCH 3/7] lib/rbtree: add random seed kernel test robot
@ 2025-03-05 9:10 ` Wei Yang
0 siblings, 0 replies; 2+ messages in thread
From: Wei Yang @ 2025-03-05 9:10 UTC (permalink / raw)
To: kernel test robot
Cc: Wei Yang, akpm, llvm, oe-kbuild-all, willy, michel, linux-mm
On Wed, Mar 05, 2025 at 11:05:13AM +0800, kernel test robot wrote:
>Hi Wei,
>
>kernel test robot noticed the following build warnings:
>
>[auto build test WARNING on linus/master]
>[also build test WARNING on v6.14-rc5 next-20250304]
>[cannot apply to akpm-mm/mm-nonmm-unstable akpm-mm/mm-everything]
>[If your patch is applied to the wrong git tree, kindly drop us a note.
>And when submitting patch, we suggest to use '--base' as documented in
>https://git-scm.com/docs/git-format-patch#_base_tree_information]
>
>url: https://github.com/intel-lab-lkp/linux/commits/Wei-Yang/lib-rbtree-enable-userland-test-suite-for-rbtree-related-data-structure/20250304-092345
>base: linus/master
>patch link: https://lore.kernel.org/r/20250304011952.29182-4-richard.weiyang%40gmail.com
>patch subject: [PATCH 3/7] lib/rbtree: add random seed
>config: i386-buildonly-randconfig-004-20250305 (https://download.01.org/0day-ci/archive/20250305/202503051009.iTp8hlJy-lkp@intel.com/config)
>compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
>reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250305/202503051009.iTp8hlJy-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/202503051009.iTp8hlJy-lkp@intel.com/
>
>All warnings (new ones prefixed by >>):
>
>>> lib/rbtree_test.c:17:22: warning: implicit conversion from 'unsigned long long' to 'ulong' (aka 'unsigned long') changes value from 3141592653589793238 to 2721204694 [-Wconstant-conversion]
> 17 | __param(ulong, seed, 3141592653589793238ULL, "Random seed");
> | ~~~~ ^~~~~~~~~~~~~~~~~~~~~~
> lib/rbtree_test.c:10:21: note: expanded from macro '__param'
> 10 | static type name = init; \
> | ~~~~ ^~~~
> 1 warning generated.
>--
>>> lib/interval_tree_test.c:22:22: warning: implicit conversion from 'unsigned long long' to 'ulong' (aka 'unsigned long') changes value from 3141592653589793238 to 2721204694 [-Wconstant-conversion]
> 22 | __param(ulong, seed, 3141592653589793238ULL, "Random seed");
> | ~~~~ ^~~~~~~~~~~~~~~~~~~~~~
> lib/interval_tree_test.c:10:21: note: expanded from macro '__param'
> 10 | static type name = init; \
> | ~~~~ ^~~~
> 1 warning generated.
>
>
>vim +17 lib/rbtree_test.c
>
> 8
> 9 #define __param(type, name, init, msg) \
> 10 static type name = init; \
> 11 module_param(name, type, 0444); \
> 12 MODULE_PARM_DESC(name, msg);
> 13
> 14 __param(int, nnodes, 100, "Number of nodes in the rb-tree");
> 15 __param(int, perf_loops, 1000, "Number of iterations modifying the rb-tree");
> 16 __param(int, check_loops, 100, "Number of iterations modifying and verifying the rb-tree");
> > 17 __param(ulong, seed, 3141592653589793238ULL, "Random seed");
> 18
Thanks, will fix it.
>
>--
>0-DAY CI Kernel Test Service
>https://github.com/intel/lkp-tests/wiki
--
Wei Yang
Help you, Help me
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-03-05 9:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20250304011952.29182-4-richard.weiyang@gmail.com>
2025-03-05 3:05 ` [PATCH 3/7] lib/rbtree: add random seed kernel test robot
2025-03-05 9:10 ` Wei Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox