All of lore.kernel.org
 help / color / mirror / Atom feed
* [jimc:wk-3way-merge 46/49] lib/dynamic_debug.c:324:21: warning: left shift count >= width of type
@ 2026-09-02 19:14 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-02 19:14 UTC (permalink / raw)
  To: Jim Cromie,  Łukasz Bartosik; +Cc: oe-kbuild-all

tree:   https://github.com/jimc/linux.git wk-3way-merge
head:   d0c943103cb664ad87f6e3202f62d82153394afe
commit: e059514f9039e7c044382a405883ff79624ccf00 [46/49] Merge branch 'dyndbg-sites' into wk-3way-merge-v2
config: sh-allyesconfig (https://download.01.org/0day-ci/archive/20260903/202609030332.F8d6YLpz-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/20260903/202609030332.F8d6YLpz-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/202609030332.F8d6YLpz-lkp@intel.com/

All warnings (new ones prefixed by >>):

   lib/dynamic_debug.c: In function 'ddebug_site_tag_key':
>> lib/dynamic_debug.c:324:21: warning: left shift count >= width of type [-Wshift-count-overflow]
     324 |         return (tag << 60) | (addr & 0x0fffffffffffffffUL);
         |                     ^~


vim +324 lib/dynamic_debug.c

ca46b7e61ee9fa Jim Cromie 2025-11-18  321  
b04414c8244a39 Jim Cromie 2026-08-29  322  static inline unsigned long ddebug_site_tag_key(unsigned long addr, unsigned long tag)
55557b9dfc7361 Jim Cromie 2026-06-24  323  {
b04414c8244a39 Jim Cromie 2026-08-29 @324  	return (tag << 60) | (addr & 0x0fffffffffffffffUL);
b04414c8244a39 Jim Cromie 2026-08-29  325  }
55557b9dfc7361 Jim Cromie 2026-06-24  326  

:::::: The code at line 324 was first introduced by commit
:::::: b04414c8244a3978ec2ed15eddc6e6f396f7500b dyndbg: Migrate site maps to Bonsai Tree with range consolidation

:::::: TO: Jim Cromie <jim.cromie@gmail.com>
:::::: CC: Jim Cromie <jim.cromie@gmail.com>

--
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-02 19:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-02 19:14 [jimc:wk-3way-merge 46/49] lib/dynamic_debug.c:324:21: warning: left shift count >= width of type 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.