All of lore.kernel.org
 help / color / mirror / Atom feed
* [jimc:wk-merge 156/169] lib/dynamic_debug.c:304:1: sparse: sparse: cast truncates bits from constant value (3000000000000000 becomes 0)
@ 2026-09-07 19:27 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-07 19:27 UTC (permalink / raw)
  To: Jim Cromie,  Łukasz Bartosik; +Cc: oe-kbuild-all

tree:   https://github.com/jimc/linux.git wk-merge
head:   0a0ae42743814d601c19e361402c731f47824ec3
commit: 307eaf4154a2d1ffc276dfc80194a5d9a1eefe40 [156/169] lib/dynamic_debug: Combine 3 site-data maple trees into a single tree
config: sh-randconfig-r132-20260907 (https://download.01.org/0day-ci/archive/20260908/202609080319.eYP1bXI4-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 16.1.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260908/202609080319.eYP1bXI4-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/202609080319.eYP1bXI4-lkp@intel.com/

sparse warnings: (new ones prefixed by >>)
>> lib/dynamic_debug.c:304:1: sparse: sparse: cast truncates bits from constant value (3000000000000000 becomes 0)
   lib/dynamic_debug.c:305:1: sparse: sparse: cast truncates bits from constant value (2000000000000000 becomes 0)
   lib/dynamic_debug.c:306:1: sparse: sparse: cast truncates bits from constant value (1000000000000000 becomes 0)
   lib/dynamic_debug.c:314:65: sparse: sparse: cast truncates bits from constant value (1000000000000000 becomes 0)
   lib/dynamic_debug.c:316:66: sparse: sparse: cast truncates bits from constant value (2000000000000000 becomes 0)
   lib/dynamic_debug.c:318:66: sparse: sparse: cast truncates bits from constant value (3000000000000000 becomes 0)
   lib/dynamic_debug.c:1765:63: sparse: sparse: cast truncates bits from constant value (3000000000000000 becomes 0)
   lib/dynamic_debug.c:1767:63: sparse: sparse: cast truncates bits from constant value (2000000000000000 becomes 0)
   lib/dynamic_debug.c:1769:60: sparse: sparse: cast truncates bits from constant value (1000000000000000 becomes 0)
   lib/dynamic_debug.c:1931:34: sparse: sparse: cast truncates bits from constant value (1000000000000000 becomes 0)
   lib/dynamic_debug.c:1931:46: sparse: sparse: cast truncates bits from constant value (2000000000000000 becomes 0)
   lib/dynamic_debug.c:1931:59: sparse: sparse: cast truncates bits from constant value (3000000000000000 becomes 0)
   lib/dynamic_debug.c:2148:70: sparse: sparse: cast truncates bits from constant value (1000000000000000 becomes 0)
   lib/dynamic_debug.c:2149:76: sparse: sparse: cast truncates bits from constant value (1000000000000000 becomes 0)

vim +304 lib/dynamic_debug.c

   303	
 > 304	DEFINE_DYNDBG_SITE_ACCESSOR(function, DD_TAG_FUNC)
   305	DEFINE_DYNDBG_SITE_ACCESSOR(filename, DD_TAG_FILE)
   306	DEFINE_DYNDBG_SITE_ACCESSOR(modname, DD_TAG_MOD)
   307	

--
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-07 19:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-07 19:27 [jimc:wk-merge 156/169] lib/dynamic_debug.c:304:1: sparse: sparse: cast truncates bits from constant value (3000000000000000 becomes 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.