From: kernel test robot <lkp@intel.com>
To: "Jim Cromie" <jim.cromie@gmail.com>,
" Łukasz Bartosik" <ukaszb@chromium.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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'
Date: Mon, 09 Nov 2026 05:54:56 +0100 [thread overview]
Message-ID: <202611090502.HTxFKNj5-lkp@intel.com> (raw)
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
reply other threads:[~2026-11-09 4:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202611090502.HTxFKNj5-lkp@intel.com \
--to=lkp@intel.com \
--cc=jim.cromie@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ukaszb@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.