* [jimc:dyndbg-maple-clean 47/50] lib/dynamic_debug.c:117:22: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '3458764513820540928' to '0'
@ 2026-11-09 4:54 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-11-09 4:54 UTC (permalink / raw)
To: Jim Cromie, Łukasz Bartosik; +Cc: oe-kbuild-all
tree: https://github.com/jimc/linux.git dyndbg-maple-clean
head: 5f7782a41d4ca319992609b6589a592f87e83006
commit: af718ee6a3256d73ee276d2c2bbbae9df0da6bfb [47/50] dyndbg: Save _ddebug_site fields into a maple-tree
config: mips-randconfig-2001-20261109 (https://download.01.org/0day-ci/archive/20261109/202611090502.HTxFKNj5-lkp@intel.com/config)
compiler: mips-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261109/202611090502.HTxFKNj5-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202611090502.HTxFKNj5-lkp@intel.com/
All warnings (new ones prefixed by >>):
lib/dynamic_debug.c: In function 'desc_function':
>> lib/dynamic_debug.c:117:22: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '3458764513820540928' to '0' [-Woverflow]
#define DD_TAG_FUNC (3ULL << DD_KEY_TAG_SHIFT)
^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/dynamic_debug.c:292:61: note: in definition of macro 'DEFINE_DYNDBG_SITE_ACCESSOR'
unsigned long key = ddebug_site_tag_key((unsigned long)dp, tag); \
^~~
lib/dynamic_debug.c:301:39: note: in expansion of macro 'DD_TAG_FUNC'
DEFINE_DYNDBG_SITE_ACCESSOR(function, DD_TAG_FUNC)
^~~~~~~~~~~
lib/dynamic_debug.c: In function 'desc_filename':
lib/dynamic_debug.c:116:22: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '2305843009213693952' to '0' [-Woverflow]
#define DD_TAG_FILE (2ULL << DD_KEY_TAG_SHIFT)
^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/dynamic_debug.c:292:61: note: in definition of macro 'DEFINE_DYNDBG_SITE_ACCESSOR'
unsigned long key = ddebug_site_tag_key((unsigned long)dp, tag); \
^~~
lib/dynamic_debug.c:302:39: note: in expansion of macro 'DD_TAG_FILE'
DEFINE_DYNDBG_SITE_ACCESSOR(filename, DD_TAG_FILE)
^~~~~~~~~~~
lib/dynamic_debug.c: In function 'desc_modname':
lib/dynamic_debug.c:115:21: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1152921504606846976' to '0' [-Woverflow]
#define DD_TAG_MOD (1ULL << DD_KEY_TAG_SHIFT)
^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/dynamic_debug.c:292:61: note: in definition of macro 'DEFINE_DYNDBG_SITE_ACCESSOR'
unsigned long key = ddebug_site_tag_key((unsigned long)dp, tag); \
^~~
lib/dynamic_debug.c:303:38: note: in expansion of macro 'DD_TAG_MOD'
DEFINE_DYNDBG_SITE_ACCESSOR(modname, DD_TAG_MOD)
^~~~~~~~~~
lib/dynamic_debug.c: In function 'ddebug_resolve_site':
lib/dynamic_debug.c:115:21: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1152921504606846976' to '0' [-Woverflow]
#define DD_TAG_MOD (1ULL << DD_KEY_TAG_SHIFT)
^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/dynamic_debug.c:311:51: note: in expansion of macro 'DD_TAG_MOD'
*mod = mtree_load(mt, ddebug_site_tag_key(addr, DD_TAG_MOD)) ?: "unknown";
^~~~~~~~~~
lib/dynamic_debug.c:116:22: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '2305843009213693952' to '0' [-Woverflow]
#define DD_TAG_FILE (2ULL << DD_KEY_TAG_SHIFT)
^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/dynamic_debug.c:313:52: note: in expansion of macro 'DD_TAG_FILE'
*file = mtree_load(mt, ddebug_site_tag_key(addr, DD_TAG_FILE)) ?: "unknown";
^~~~~~~~~~~
>> lib/dynamic_debug.c:117:22: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '3458764513820540928' to '0' [-Woverflow]
#define DD_TAG_FUNC (3ULL << DD_KEY_TAG_SHIFT)
^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/dynamic_debug.c:315:52: note: in expansion of macro 'DD_TAG_FUNC'
*func = mtree_load(mt, ddebug_site_tag_key(addr, DD_TAG_FUNC)) ?: "unknown";
^~~~~~~~~~~
lib/dynamic_debug.c: In function 'ddebug_condense_sites':
>> lib/dynamic_debug.c:117:22: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '3458764513820540928' to '0' [-Woverflow]
#define DD_TAG_FUNC (3ULL << DD_KEY_TAG_SHIFT)
^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/dynamic_debug.c:1825:35: note: in expansion of macro 'DD_TAG_FUNC'
"func", ddebug_get_function, DD_TAG_FUNC);
^~~~~~~~~~~
lib/dynamic_debug.c:116:22: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '2305843009213693952' to '0' [-Woverflow]
#define DD_TAG_FILE (2ULL << DD_KEY_TAG_SHIFT)
^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/dynamic_debug.c:1827:35: note: in expansion of macro 'DD_TAG_FILE'
"file", ddebug_get_filename, DD_TAG_FILE);
^~~~~~~~~~~
lib/dynamic_debug.c:115:21: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1152921504606846976' to '0' [-Woverflow]
#define DD_TAG_MOD (1ULL << DD_KEY_TAG_SHIFT)
^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/dynamic_debug.c:1829:32: note: in expansion of macro 'DD_TAG_MOD'
"mod", ddebug_get_modname, DD_TAG_MOD);
^~~~~~~~~~
lib/dynamic_debug.c: In function 'ddebug_module_sites_clear':
lib/dynamic_debug.c:115:21: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1152921504606846976' to '0' [-Woverflow]
#define DD_TAG_MOD (1ULL << DD_KEY_TAG_SHIFT)
^
lib/dynamic_debug.c:1968:27: note: in expansion of macro 'DD_TAG_MOD'
unsigned long tags[] = { DD_TAG_MOD, DD_TAG_FILE, DD_TAG_FUNC };
^~~~~~~~~~
lib/dynamic_debug.c:116:22: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '2305843009213693952' to '0' [-Woverflow]
#define DD_TAG_FILE (2ULL << DD_KEY_TAG_SHIFT)
^
lib/dynamic_debug.c:1968:39: note: in expansion of macro 'DD_TAG_FILE'
unsigned long tags[] = { DD_TAG_MOD, DD_TAG_FILE, DD_TAG_FUNC };
^~~~~~~~~~~
>> lib/dynamic_debug.c:117:22: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '3458764513820540928' to '0' [-Woverflow]
#define DD_TAG_FUNC (3ULL << DD_KEY_TAG_SHIFT)
^
lib/dynamic_debug.c:1968:52: note: in expansion of macro 'DD_TAG_FUNC'
unsigned long tags[] = { DD_TAG_MOD, DD_TAG_FILE, DD_TAG_FUNC };
^~~~~~~~~~~
vim +117 lib/dynamic_debug.c
112
113 #define DD_KEY_TAG_SHIFT 60
114 #define DD_KEY_TAG_MASK (0xFULL << DD_KEY_TAG_SHIFT)
115 #define DD_TAG_MOD (1ULL << DD_KEY_TAG_SHIFT)
116 #define DD_TAG_FILE (2ULL << DD_KEY_TAG_SHIFT)
> 117 #define DD_TAG_FUNC (3ULL << DD_KEY_TAG_SHIFT)
118 #define DD_KEY_ADDR_MASK (~DD_KEY_TAG_MASK)
119
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-09 4:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-09 4:54 [jimc:dyndbg-maple-clean 47/50] lib/dynamic_debug.c:117:22: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '3458764513820540928' to '0' 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.