[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202207120805.VMoxhHK2-lkp@intel.com>
Date: Tue, 12 Jul 2022 09:04:44 +0800
From: kernel test robot <lkp@...el.com>
To: Chun-Kuang Hu <chunkuang.hu@...nel.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.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'
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@...el.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
Powered by blists - more mailing lists