tree:
git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git for-kernelci
head: 295a2a7d5fd9ff0e1fd50d5265297464888cbfef
commit: 295a2a7d5fd9ff0e1fd50d5265297464888cbfef [4/4] efi: use 32-bit alignment for
efi_guid_t literals
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-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
#
https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id...
git remote add ardb
git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb for-kernelci
git checkout 295a2a7d5fd9ff0e1fd50d5265297464888cbfef
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc
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/kernel.h:16,
from include/linux/list.h:9,
from include/linux/module.h:12,
from security/integrity/platform_certs/efi_parser.c:9:
security/integrity/platform_certs/efi_parser.c: In function
'parse_efi_signature_list':
> include/linux/kern_levels.h:5:18: warning: format '%p'
expects argument of type 'void *', but argument 3 has type 'int'
[-Wformat=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header
*/
| ^~~~~~
include/linux/printk.h:140:10: note: in definition of macro 'no_printk'
140 | printk(fmt, ##__VA_ARGS__); \
| ^~~
include/linux/kern_levels.h:15:20: note: in expansion of macro 'KERN_SOH'
15 | #define KERN_DEBUG KERN_SOH "7" /* debug-level messages */
| ^~~~~~~~
include/linux/printk.h:402:12: note: in expansion of macro 'KERN_DEBUG'
402 | no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~
security/integrity/platform_certs/efi_parser.c:56:3: note: in expansion of macro
'pr_devel'
56 | pr_devel("LIST[%04x] guid=%pUl ls=%x hs=%x ss=%x\n",
| ^~~~~~~~
security/integrity/platform_certs/efi_parser.c:56:30: note: format string is defined
here
56 | pr_devel("LIST[%04x] guid=%pUl ls=%x hs=%x ss=%x\n",
| ~^
| |
| void *
| %d
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
:::::: The code at line 5 was first introduced by commit
:::::: 04d2c8c83d0e3ac5f78aeede51babb3236200112 printk: convert the format for
KERN_<LEVEL> to a 2 byte pattern
:::::: TO: Joe Perches <joe(a)perches.com>
:::::: CC: Linus Torvalds <torvalds(a)linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org