From: SeongJae Park <sj@kernel.org>
To: kernel test robot <lkp@intel.com>
Cc: SeongJae Park <sj@kernel.org>,
oe-kbuild-all@lists.linux.dev, damon@lists.linux.dev
Subject: 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'
Date: Sat, 23 Nov 2024 07:47:10 -0800 [thread overview]
Message-ID: <20241123154710.52823-1-sj@kernel.org> (raw)
In-Reply-To: <202411231420.di7hRYuZ-lkp@intel.com>
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
[...]
prev parent reply other threads:[~2024-11-23 15:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-23 6:28 [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' kernel test robot
2024-11-23 15:47 ` SeongJae Park [this message]
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=20241123154710.52823-1-sj@kernel.org \
--to=sj@kernel.org \
--cc=damon@lists.linux.dev \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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 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.