All of lore.kernel.org
 help / color / mirror / Atom feed
* [jimc:dd-diet-6c2 34/36] lib/dynamic_debug.c:1457:24: sparse: sparse: non size-preserving pointer to integer cast
@ 2021-06-15 19:09 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-06-15 19:09 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/jimc/linux.git dd-diet-6c2
head:   c0dcfb4fa5652b5d3f9c95f797ba84f8ec6d809b
commit: d29f2fbe3a2ecb1391e1ed5271f3f0728e963759 [34/36] dyndbg: add print-once and print-ratelimited features. RFC.
config: i386-randconfig-s001-20210615 (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/d29f2fbe3a2ecb1391e1ed5271f3f0728e963759
        git remote add jimc https://github.com/jimc/linux.git
        git fetch --no-tags jimc dd-diet-6c2
        git checkout d29f2fbe3a2ecb1391e1ed5271f3f0728e963759
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=i386 

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:1457:24: sparse: sparse: non size-preserving pointer to integer cast

vim +1457 lib/dynamic_debug.c

  1450	
  1451	/*
  1452	 * called when enabled callsite has _DPRINTK_FLAGS_RATELIMITED flag
  1453	 * set (echo +pr >control), it hashes on &table-header+index
  1454	 */
  1455	static struct dd_ratelimit * dd_rl_fetch(struct _ddebug *desc)
  1456	{
> 1457		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: 42324 bytes --]

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

only message in thread, other threads:[~2021-06-15 19:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-15 19:09 [jimc:dd-diet-6c2 34/36] lib/dynamic_debug.c:1457: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.