* Re: [sj:damon/next 12/59] include/vdso/limits.h:13:25: warning: conversion from 'long unsigned int' to 'unsigned int' changes value from '18446744073709551615' to '4294967295'
[not found] <202411231420.di7hRYuZ-lkp@intel.com>
@ 2024-11-23 15:47 ` SeongJae Park
0 siblings, 0 replies; only message in thread
From: SeongJae Park @ 2024-11-23 15:47 UTC (permalink / raw)
To: kernel test robot; +Cc: SeongJae Park, oe-kbuild-all, damon
On Sat, 23 Nov 2024 14:28:19 +0800 kernel test robot <lkp@intel.com> wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/sj/linux.git damon/next
> head: 78907e9aaa2afc17557ccada5eeafa2f4423ddcc
> commit: 6a0ed0a7aac349150628bda45521200cb75006c2 [12/59] samples/damon/prcl: implement schemes setup
> config: s390-allyesconfig (https://download.01.org/0day-ci/archive/20241123/202411231420.di7hRYuZ-lkp@intel.com/config)
> compiler: s390-linux-gcc (GCC) 14.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241123/202411231420.di7hRYuZ-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/202411231420.di7hRYuZ-lkp@intel.com/
>
> All warnings (new ones prefixed by >>):
>
> In file included from include/linux/limits.h:7,
> from include/linux/kernel.h:17,
> from include/linux/cpumask.h:11,
> from arch/s390/include/asm/processor.h:31,
> from include/linux/sched.h:13,
> from include/linux/cgroup.h:12,
> from include/linux/memcontrol.h:13,
> from include/linux/damon.h:11,
> from samples/damon/prcl.c:9:
> samples/damon/prcl.c: In function 'damon_sample_prcl_start':
> >> include/vdso/limits.h:13:25: warning: conversion from 'long unsigned int' to 'unsigned int' changes value from '18446744073709551615' to '4294967295' [-Woverflow]
> 13 | #define ULONG_MAX (~0UL)
> | ^
> samples/damon/prcl.c:86:43: note: in expansion of macro 'ULONG_MAX'
> 86 | .max_age_region = ULONG_MAX},
> | ^~~~~~~~~
Thank you for this report! I replied to same report:
https://lore.kernel.org/20241123154433.52687-1-sj@kernel.org Please refer to
the thread.
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] only message in thread