All of lore.kernel.org
 help / color / mirror / Atom feed
* [jimc:dd-diet-7a 36/37] lib/dynamic_debug.c:1485:24: sparse: sparse: non size-preserving pointer to integer cast
@ 2021-07-11  2:37 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-11  2:37 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1910 bytes --]

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/5729928be52f1ce26a82e6263185f7f2f891d68e
        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@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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 38462 bytes --]

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

only message in thread, other threads:[~2021-07-11  2:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-11  2:37 [jimc:dd-diet-7a 36/37] lib/dynamic_debug.c:1485:24: sparse: sparse: non size-preserving pointer to integer cast kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.