From: kernel test robot <lkp@intel.com>
To: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [chunkuang-hu:pagecaller 1/2] mm/page_alloc.c:193:33: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18446744073709551615' to '4294967295'
Date: Tue, 12 Jul 2022 09:04:44 +0800 [thread overview]
Message-ID: <202207120805.VMoxhHK2-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git pagecaller
head: de987a7312cd3e22d7d6985225db9839c3bd9818
commit: c879bb3e3a54d1e18415030a68f327dc4cf17363 [1/2] mm: Add pagecaller base trace point
config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220712/202207120805.VMoxhHK2-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/commit/?id=c879bb3e3a54d1e18415030a68f327dc4cf17363
git remote add chunkuang-hu https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git
git fetch --no-tags chunkuang-hu pagecaller
git checkout c879bb3e3a54d1e18415030a68f327dc4cf17363
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
mm/page_alloc.c: In function 'pagecaller_get':
>> mm/page_alloc.c:193:33: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18446744073709551615' to '4294967295' [-Woverflow]
193 | #define PAGECALLER_RESERVED 0xffffffffffffffff
| ^~~~~~~~~~~~~~~~~~
mm/page_alloc.c:939:24: note: in expansion of macro 'PAGECALLER_RESERVED'
939 | return PAGECALLER_RESERVED;
| ^~~~~~~~~~~~~~~~~~~
>> mm/page_alloc.c:193:33: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18446744073709551615' to '4294967295' [-Woverflow]
193 | #define PAGECALLER_RESERVED 0xffffffffffffffff
| ^~~~~~~~~~~~~~~~~~
mm/page_alloc.c:944:16: note: in expansion of macro 'PAGECALLER_RESERVED'
944 | return PAGECALLER_RESERVED;
| ^~~~~~~~~~~~~~~~~~~
mm/page_alloc.c: In function 'free_area_init_node':
>> mm/page_alloc.c:193:33: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18446744073709551615' to '4294967295' [-Woverflow]
193 | #define PAGECALLER_RESERVED 0xffffffffffffffff
| ^~~~~~~~~~~~~~~~~~
mm/page_alloc.c:7798:56: note: in expansion of macro 'PAGECALLER_RESERVED'
7798 | pagecaller_set(0, end_pfn - start_pfn, PAGECALLER_RESERVED);
| ^~~~~~~~~~~~~~~~~~~
vim +193 mm/page_alloc.c
190
191 #ifdef CONFIG_PAGECALLER
192 #define PAGECALLER_FREE 0
> 193 #define PAGECALLER_RESERVED 0xffffffffffffffff
194
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-07-12 1:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202207120805.VMoxhHK2-lkp@intel.com \
--to=lkp@intel.com \
--cc=chunkuang.hu@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.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