linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Wei Yang <richard.weiyang@gmail.com>
To: kernel test robot <lkp@intel.com>
Cc: Wei Yang <richard.weiyang@gmail.com>,
	akpm@linux-foundation.org, llvm@lists.linux.dev,
	oe-kbuild-all@lists.linux.dev, willy@infradead.org,
	michel@lespinasse.org, linux-mm@kvack.org
Subject: Re: [PATCH 3/7] lib/rbtree: add random seed
Date: Wed, 5 Mar 2025 09:10:32 +0000	[thread overview]
Message-ID: <20250305091032.fecpecvvxravtjyp@master> (raw)
In-Reply-To: <202503051009.iTp8hlJy-lkp@intel.com>

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


  reply	other threads:[~2025-03-05 18:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-04  1:19 [PATCH 0/7] lib/interval_tree: add some test cases and cleanup Wei Yang
2025-03-04  1:19 ` [PATCH 1/7] lib/rbtree: enable userland test suite for rbtree related data structure Wei Yang
2025-03-04  1:46   ` Matthew Wilcox
2025-03-04  3:04     ` Wei Yang
2025-03-04  1:19 ` [PATCH 2/7] lib/rbtree: split tests Wei Yang
2025-03-04  1:19 ` [PATCH 3/7] lib/rbtree: add random seed Wei Yang
2025-03-05  3:05   ` kernel test robot
2025-03-05  9:10     ` Wei Yang [this message]
2025-03-06 11:34   ` kernel test robot
2025-03-07  1:55     ` Wei Yang
2025-03-07  2:36   ` kernel test robot
2025-03-04  1:19 ` [PATCH 4/7] lib/interval_tree: add test case for interval_tree_iter_xxx() helpers Wei Yang
2025-03-04  1:19 ` [PATCH 5/7] lib/interval_tree: add test case for span iteration Wei Yang
2025-03-04  1:19 ` [PATCH 6/7] lib/interval_tree: skip the check before go to the right subtree Wei Yang
2025-03-04  1:19 ` [PATCH 7/7] lib/interval_tree: fix the comment of interval_tree_span_iter_next_gap() Wei Yang
2025-03-04 14:12   ` Jason Gunthorpe
2025-03-05  0:57     ` Wei Yang

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=20250305091032.fecpecvvxravtjyp@master \
    --to=richard.weiyang@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=michel@lespinasse.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=willy@infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox