* [jimc:wk-merge-v8-all 216/234] lib/dynamic_debug.c:115:33: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '3458764513820540928' to '0'
@ 2026-09-04 22:51 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-04 22:51 UTC (permalink / raw)
To: Jim Cromie, Łukasz Bartosik; +Cc: oe-kbuild-all
tree: https://github.com/jimc/linux.git wk-merge-v8-all
head: 15fc7b4f50950618237402fdf3a05eb0caaff2cc
commit: fbbcdc4bb3ae24bea37af4a59c08eeae5553e1dc [216/234] lib/dynamic_debug: Combine 3 site-data maple trees into a single tree
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20260905/202609050027.Gs5XdM6m-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260905/202609050027.Gs5XdM6m-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/202609050027.Gs5XdM6m-lkp@intel.com/
All warnings (new ones prefixed by >>):
lib/dynamic_debug.c: In function 'desc_function':
>> lib/dynamic_debug.c:115:33: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '3458764513820540928' to '0' [-Woverflow]
115 | #define DD_TAG_FUNC (3ULL << DD_KEY_TAG_SHIFT)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/dynamic_debug.c:300:68: note: in definition of macro 'DEFINE_DYNDBG_SITE_ACCESSOR'
300 | unsigned long key = ddebug_site_tag_key((unsigned long)dp, tag); \
| ^~~
lib/dynamic_debug.c:309:39: note: in expansion of macro 'DD_TAG_FUNC'
309 | DEFINE_DYNDBG_SITE_ACCESSOR(function, DD_TAG_FUNC)
| ^~~~~~~~~~~
lib/dynamic_debug.c: In function 'desc_filename':
lib/dynamic_debug.c:114:33: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '2305843009213693952' to '0' [-Woverflow]
114 | #define DD_TAG_FILE (2ULL << DD_KEY_TAG_SHIFT)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/dynamic_debug.c:300:68: note: in definition of macro 'DEFINE_DYNDBG_SITE_ACCESSOR'
300 | unsigned long key = ddebug_site_tag_key((unsigned long)dp, tag); \
| ^~~
lib/dynamic_debug.c:310:39: note: in expansion of macro 'DD_TAG_FILE'
310 | DEFINE_DYNDBG_SITE_ACCESSOR(filename, DD_TAG_FILE)
| ^~~~~~~~~~~
lib/dynamic_debug.c: In function 'desc_modname':
lib/dynamic_debug.c:113:33: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1152921504606846976' to '0' [-Woverflow]
113 | #define DD_TAG_MOD (1ULL << DD_KEY_TAG_SHIFT)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/dynamic_debug.c:300:68: note: in definition of macro 'DEFINE_DYNDBG_SITE_ACCESSOR'
300 | unsigned long key = ddebug_site_tag_key((unsigned long)dp, tag); \
| ^~~
lib/dynamic_debug.c:311:38: note: in expansion of macro 'DD_TAG_MOD'
311 | DEFINE_DYNDBG_SITE_ACCESSOR(modname, DD_TAG_MOD)
| ^~~~~~~~~~
lib/dynamic_debug.c: In function 'ddebug_condense_sites':
>> lib/dynamic_debug.c:115:33: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '3458764513820540928' to '0' [-Woverflow]
115 | #define DD_TAG_FUNC (3ULL << DD_KEY_TAG_SHIFT)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/dynamic_debug.c:1746:63: note: in expansion of macro 'DD_TAG_FUNC'
1746 | "func", ddebug_get_function, DD_TAG_FUNC);
| ^~~~~~~~~~~
lib/dynamic_debug.c:114:33: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '2305843009213693952' to '0' [-Woverflow]
114 | #define DD_TAG_FILE (2ULL << DD_KEY_TAG_SHIFT)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/dynamic_debug.c:1748:63: note: in expansion of macro 'DD_TAG_FILE'
1748 | "file", ddebug_get_filename, DD_TAG_FILE);
| ^~~~~~~~~~~
lib/dynamic_debug.c:113:33: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1152921504606846976' to '0' [-Woverflow]
113 | #define DD_TAG_MOD (1ULL << DD_KEY_TAG_SHIFT)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/dynamic_debug.c:1750:60: note: in expansion of macro 'DD_TAG_MOD'
1750 | "mod", ddebug_get_modname, DD_TAG_MOD);
| ^~~~~~~~~~
lib/dynamic_debug.c: In function 'ddebug_module_sites_clear':
lib/dynamic_debug.c:113:33: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1152921504606846976' to '0' [-Woverflow]
113 | #define DD_TAG_MOD (1ULL << DD_KEY_TAG_SHIFT)
| ^
lib/dynamic_debug.c:1912:34: note: in expansion of macro 'DD_TAG_MOD'
1912 | unsigned long tags[] = { DD_TAG_MOD, DD_TAG_FILE, DD_TAG_FUNC };
| ^~~~~~~~~~
lib/dynamic_debug.c:114:33: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '2305843009213693952' to '0' [-Woverflow]
114 | #define DD_TAG_FILE (2ULL << DD_KEY_TAG_SHIFT)
| ^
lib/dynamic_debug.c:1912:46: note: in expansion of macro 'DD_TAG_FILE'
1912 | unsigned long tags[] = { DD_TAG_MOD, DD_TAG_FILE, DD_TAG_FUNC };
| ^~~~~~~~~~~
>> lib/dynamic_debug.c:115:33: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '3458764513820540928' to '0' [-Woverflow]
115 | #define DD_TAG_FUNC (3ULL << DD_KEY_TAG_SHIFT)
| ^
lib/dynamic_debug.c:1912:59: note: in expansion of macro 'DD_TAG_FUNC'
1912 | unsigned long tags[] = { DD_TAG_MOD, DD_TAG_FILE, DD_TAG_FUNC };
| ^~~~~~~~~~~
lib/dynamic_debug.c: In function 'dynamic_debug_init':
lib/dynamic_debug.c:113:33: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1152921504606846976' to '0' [-Woverflow]
113 | #define DD_TAG_MOD (1ULL << DD_KEY_TAG_SHIFT)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/dynamic_debug.c:2181:70: note: in expansion of macro 'DD_TAG_MOD'
2181 | unsigned long mod_start_key = ddebug_site_tag_key(0, DD_TAG_MOD);
| ^~~~~~~~~~
lib/dynamic_debug.c:113:33: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '1152921504606846976' to '0' [-Woverflow]
113 | #define DD_TAG_MOD (1ULL << DD_KEY_TAG_SHIFT)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
lib/dynamic_debug.c:2182:76: note: in expansion of macro 'DD_TAG_MOD'
2182 | unsigned long mod_end_key = ddebug_site_tag_key(ULONG_MAX, DD_TAG_MOD);
| ^~~~~~~~~~
vim +115 lib/dynamic_debug.c
110
111 #define DD_KEY_TAG_SHIFT 60
112 #define DD_KEY_TAG_MASK (0xFULL << DD_KEY_TAG_SHIFT)
113 #define DD_TAG_MOD (1ULL << DD_KEY_TAG_SHIFT)
114 #define DD_TAG_FILE (2ULL << DD_KEY_TAG_SHIFT)
> 115 #define DD_TAG_FUNC (3ULL << DD_KEY_TAG_SHIFT)
116 #define DD_KEY_ADDR_MASK (~DD_KEY_TAG_MASK)
117
--
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-09-04 22:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-04 22:51 [jimc:wk-merge-v8-all 216/234] lib/dynamic_debug.c:115:33: 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.