tree:
https://github.com/jimc/linux.git dd-diet-7a
head: f03372b06242fed45a298d29d372b9af92c795a2
commit: 5729928be52f1ce26a82e6263185f7f2f891d68e [36/37] dyndbg: add print-once and
print-ratelimited features. RFC.
config: i386-randconfig-s001-20210711 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
#
https://github.com/jimc/linux/commit/5729928be52f1ce26a82e6263185f7f2f891...
git remote add jimc
https://github.com/jimc/linux.git
git fetch --no-tags jimc dd-diet-7a
git checkout 5729928be52f1ce26a82e6263185f7f2f891d68e
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir
ARCH=i386 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
lib/dynamic_debug.c: note: in included file (through include/linux/printk.h,
include/linux/kernel.h):
include/linux/dynamic_debug.h:336:1: sparse: sparse: symbol
'_LINKONCE_dyndbg_header' was not declared. Should it be static?
include/linux/dynamic_debug.h:336:1: sparse: sparse: symbol
'_LINKONCE_dyndbg_site_header' was not declared. Should it be static?
> lib/dynamic_debug.c:1485:24: sparse: sparse: non size-preserving
pointer to integer cast
vim +1485 lib/dynamic_debug.c
1478
1479 /*
1480 * called when enabled callsite has _DPRINTK_FLAGS_RATELIMITED flag
1481 * set (echo +pr >control), it hashes on &table-header+index
1482 */
1483 static struct dd_ratelimit *dd_rl_fetch(struct _ddebug *desc)
1484 {
1485 u64 key = (u64)desc;
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org