Messages in this thread | | | Date | Tue, 14 Dec 2021 05:34:43 +0800 | From | kernel test robot <> | Subject | [kevin78:percpu-cleanup 3/4] <command-line>: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'phys_addr_t' {aka 'long long unsigned int'} |
| |
tree: https://github.com/kevin78/linux.git percpu-cleanup head: ec8bef0e65982bb71c931efddde0fca6418e02ba commit: c3ebf9a83e686d6d3dc8b571493219a64558d536 [3/4] mm: percpu: Add generic pcpu_fc_alloc/free funciton config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20211214/202112140527.SRPXMPJU-lkp@intel.com/config) compiler: aarch64-linux-gcc (GCC) 11.2.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/kevin78/linux/commit/c3ebf9a83e686d6d3dc8b571493219a64558d536 git remote add kevin78 https://github.com/kevin78/linux.git git fetch --no-tags kevin78 percpu-cleanup git checkout c3ebf9a83e686d6d3dc8b571493219a64558d536 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
mm/percpu.c: In function 'pcpu_fc_alloc': >> <command-line>: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'phys_addr_t' {aka 'long long unsigned int'} [-Wformat=] mm/percpu.c:69:21: note: in expansion of macro 'KBUILD_MODNAME' 69 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ^~~~~~~~~~~~~~ include/linux/dynamic_debug.h:134:29: note: in expansion of macro 'pr_fmt' 134 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~ include/linux/dynamic_debug.h:152:9: note: in expansion of macro '__dynamic_func_call' 152 | __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ include/linux/dynamic_debug.h:162:9: note: in expansion of macro '_dynamic_func_call' 162 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ | ^~~~~~~~~~~~~~~~~~ include/linux/printk.h:574:9: note: in expansion of macro 'dynamic_pr_debug' 574 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ mm/percpu.c:3011:17: note: in expansion of macro 'pr_debug' 3011 | pr_debug("per cpu data for cpu%d %lu bytes at %016lx\n", | ^~~~~~~~ <command-line>: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'phys_addr_t' {aka 'long long unsigned int'} [-Wformat=] mm/percpu.c:69:21: note: in expansion of macro 'KBUILD_MODNAME' 69 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ^~~~~~~~~~~~~~ include/linux/dynamic_debug.h:134:29: note: in expansion of macro 'pr_fmt' 134 | func(&id, ##__VA_ARGS__); \ | ^~~~~~~~~~~ include/linux/dynamic_debug.h:152:9: note: in expansion of macro '__dynamic_func_call' 152 | __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~~~~ include/linux/dynamic_debug.h:162:9: note: in expansion of macro '_dynamic_func_call' 162 | _dynamic_func_call(fmt, __dynamic_pr_debug, \ | ^~~~~~~~~~~~~~~~~~ include/linux/printk.h:574:9: note: in expansion of macro 'dynamic_pr_debug' 574 | dynamic_pr_debug(fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~~~ mm/percpu.c:3018:17: note: in expansion of macro 'pr_debug' 3018 | pr_debug("per cpu data for cpu%d %lu bytes on node%d at %016lx\n", | ^~~~~~~~
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
| |