Hi Atish,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on driver-core/driver-core-testing]
[also build test WARNING on linus/master v5.9-rc5]
[cannot apply to arm64/for-next/core linux/master asm-generic/master next-20200916]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Atish-Patra/Unify-NUMA-implement...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
0de7511695680425aa1e6e1e1c7a7c24e6250491
config: riscv-randconfig-r013-20200916 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 9.3.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
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from include/linux/printk.h:7,
from include/linux/kernel.h:15,
from include/linux/list.h:9,
from include/linux/kobject.h:19,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from drivers/base/arch_numa.c:11:
drivers/base/arch_numa.c: In function 'numa_register_nodes':
> include/linux/kern_levels.h:5:18: warning: format '%Lx'
expects argument of type 'long long unsigned int', but argument 3 has type
'phys_addr_t' {aka 'unsigned int'} [-Wformat=]
5 | #define
KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
include/linux/kern_levels.h:12:22: note: in expansion of macro 'KERN_SOH'
12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */
| ^~~~~~~~
include/linux/printk.h:349:9: note: in expansion of macro 'KERN_WARNING'
349 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~~
drivers/base/arch_numa.c:359:4: note: in expansion of macro 'pr_warn'
359 | pr_warn("Warning: invalid memblk node %d [mem
%#010Lx-%#010Lx]\n",
| ^~~~~~~
drivers/base/arch_numa.c:359:56: note: format string is defined here
359 | pr_warn("Warning: invalid memblk node %d [mem
%#010Lx-%#010Lx]\n",
| ~~~~~~^
| |
| long long unsigned int
| %#010x
In file included from include/linux/printk.h:7,
from include/linux/kernel.h:15,
from include/linux/list.h:9,
from include/linux/kobject.h:19,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from drivers/base/arch_numa.c:11:
include/linux/kern_levels.h:5:18: warning: format '%Lx' expects argument of
type 'long long unsigned int', but argument 4 has type 'phys_addr_t' {aka
'unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
include/linux/kern_levels.h:12:22: note: in expansion of macro 'KERN_SOH'
12 | #define KERN_WARNING KERN_SOH "4" /* warning conditions */
| ^~~~~~~~
include/linux/printk.h:349:9: note: in expansion of macro 'KERN_WARNING'
349 | printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~~
drivers/base/arch_numa.c:359:4: note: in expansion of macro 'pr_warn'
359 | pr_warn("Warning: invalid memblk node %d [mem
%#010Lx-%#010Lx]\n",
| ^~~~~~~
drivers/base/arch_numa.c:359:64: note: format string is defined here
359 | pr_warn("Warning: invalid memblk node %d [mem
%#010Lx-%#010Lx]\n",
| ~~~~~~^
| |
| long long
unsigned int
| %#010x
In file included from include/linux/printk.h:7,
from include/linux/kernel.h:15,
from include/linux/list.h:9,
from include/linux/kobject.h:19,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from drivers/base/arch_numa.c:11:
drivers/base/arch_numa.c: In function 'dummy_numa_init':
include/linux/kern_levels.h:5:18: warning: format '%Lx' expects argument of
type 'long long unsigned int', but argument 2 has type 'phys_addr_t' {aka
'unsigned int'} [-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
include/linux/printk.h:369:9: note: in expansion of macro 'KERN_INFO'
369 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
drivers/base/arch_numa.c:433:2: note: in expansion of macro 'pr_info'
433 | pr_info("Faking a node at [mem %#018Lx-%#018Lx]\n",
| ^~~~~~~
drivers/base/arch_numa.c:433:39: note: format string is defined here
433 | pr_info("Faking a node at [mem %#018Lx-%#018Lx]\n",
| ~~~~~~^
| |
| long long unsigned int
| %#018x
In file included from include/linux/printk.h:7,
from include/linux/kernel.h:15,
from include/linux/list.h:9,
from include/linux/kobject.h:19,
from include/linux/of.h:17,
from include/linux/irqdomain.h:35,
from include/linux/acpi.h:13,
from drivers/base/arch_numa.c:11:
> include/linux/kern_levels.h:5:18: warning: format '%Lx'
expects argument of type 'long long unsigned int', but argument 3 has type
'phys_addr_t' {aka 'unsigned int'} [-Wformat=]
5 | #define
KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~
include/linux/kern_levels.h:14:19: note: in expansion of macro 'KERN_SOH'
14 | #define KERN_INFO KERN_SOH "6" /* informational */
| ^~~~~~~~
include/linux/printk.h:369:9: note: in expansion of macro 'KERN_INFO'
369 | printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~
drivers/base/arch_numa.c:433:2: note: in expansion of macro 'pr_info'
433 | pr_info("Faking a node at [mem %#018Lx-%#018Lx]\n",
| ^~~~~~~
drivers/base/arch_numa.c:433:47: note: format string is defined here
433 | pr_info("Faking a node at [mem %#018Lx-%#018Lx]\n",
| ~~~~~~^
| |
| long long unsigned int
| %#018x
drivers/base/arch_numa.c: At top level:
> drivers/base/arch_numa.c:463:12: warning: no previous prototype
for 'arch_acpi_numa_init' [-Wmissing-prototypes]
463 | int __init
arch_acpi_numa_init(void)
| ^~~~~~~~~~~~~~~~~~~
#
https://github.com/0day-ci/linux/commit/5281a162c9e16b33068a8b3937d2a33d4...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Atish-Patra/Unify-NUMA-implementation-between-ARM64-RISC-V/20200912-093951
git checkout 5281a162c9e16b33068a8b3937d2a33d4fc3c5a5
vim +5 include/linux/kern_levels.h
314ba3520e513a Joe Perches 2012-07-30 4
04d2c8c83d0e3a Joe Perches 2012-07-30 @5 #define KERN_SOH "\001" /* ASCII
Start Of Header */
04d2c8c83d0e3a Joe Perches 2012-07-30 6 #define KERN_SOH_ASCII '\001'
04d2c8c83d0e3a Joe Perches 2012-07-30 7
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org