public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [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'
@ 2022-07-12  1:04 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-12  1:04 UTC (permalink / raw)
  To: Chun-Kuang Hu; +Cc: kbuild-all, linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-12  1:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-12  1:04 [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' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox