* Re: [sj:damon/next 12/59] samples/damon/prcl.c:86:22: warning: implicit conversion from 'unsigned long' to 'unsigned int' changes value from 18446744073709551615 to 4294967295
[not found] <202411231754.4u5u1Nwv-lkp@intel.com>
@ 2024-11-23 15:44 ` SeongJae Park
0 siblings, 0 replies; only message in thread
From: SeongJae Park @ 2024-11-23 15:44 UTC (permalink / raw)
To: kernel test robot; +Cc: SeongJae Park, llvm, oe-kbuild-all, damon
On Sat, 23 Nov 2024 15:20:07 +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-allmodconfig (https://download.01.org/0day-ci/archive/20241123/202411231754.4u5u1Nwv-lkp@intel.com/config)
> compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 592c0fe55f6d9a811028b5f3507be91458ab2713)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241123/202411231754.4u5u1Nwv-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/202411231754.4u5u1Nwv-lkp@intel.com/
>
> All warnings (new ones prefixed by >>):
>
[...]
> >> samples/damon/prcl.c:86:22: warning: implicit conversion from 'unsigned long' to 'unsigned int' changes value from 18446744073709551615 to 4294967295 [-Wconstant-conversion]
> 80 | &(struct damos_access_pattern) {
> | ~
> 81 | .min_sz_region = PAGE_SIZE,
> 82 | .max_sz_region = ULONG_MAX,
> 83 | .min_nr_accesses = 0,
> 84 | .max_nr_accesses = 0,
> 85 | .min_age_region = 50,
> 86 | .max_age_region = ULONG_MAX},
> | ^~~~~~~~~
> include/vdso/limits.h:13:20: note: expanded from macro 'ULONG_MAX'
> 13 | #define ULONG_MAX (~0UL)
> | ^~~~
> 5 warnings generated.
Thank you for this report! Just pushed a fix:
https://git.kernel.org/sj/c/74b866938a402fc479938747f93b9ced3c9a1282
Thanks,
SJ
[...]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-23 15:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <202411231754.4u5u1Nwv-lkp@intel.com>
2024-11-23 15:44 ` [sj:damon/next 12/59] samples/damon/prcl.c:86:22: warning: implicit conversion from 'unsigned long' to 'unsigned int' changes value from 18446744073709551615 to 4294967295 SeongJae Park
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).