CC: [email protected]
BCC: [email protected]
CC: [email protected]
TO: Oliver Glitta <[email protected]>
CC: Vlastimil Babka <[email protected]>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vbabka/linux.git 
slub-stackdepot-v2
head:   81001c54e58478cef57829b8b468f8d2865b7563
commit: 80a4eec3b671b3f834d5357d4bf0027f325606c5 [3/6] mm/slub: use stackdepot 
to save stack trace in objects
:::::: branch date: 23 hours ago
:::::: commit date: 23 hours ago
config: nds32-randconfig-m031-20220303 
(https://download.01.org/0day-ci/archive/20220303/[email protected]/config)
compiler: nds32le-linux-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

smatch warnings:
mm/slub.c:760 print_track() warn: statement has no effect 3

vim +760 mm/slub.c

81819f0fc8285a2 Christoph Lameter 2007-05-06  757  
86609d3319ad57f Chintan Pandya    2018-04-05  758  static void 
print_track(const char *s, struct track *t, unsigned long pr_time)
81819f0fc8285a2 Christoph Lameter 2007-05-06  759  {
80a4eec3b671b3f Oliver Glitta     2021-07-07 @760       depot_stack_handle_t 
handle __maybe_unused;
80a4eec3b671b3f Oliver Glitta     2021-07-07  761  
81819f0fc8285a2 Christoph Lameter 2007-05-06  762       if (!t->addr)
81819f0fc8285a2 Christoph Lameter 2007-05-06  763               return;
81819f0fc8285a2 Christoph Lameter 2007-05-06  764  
96b94abc12e6ec6 Yafang Shao       2021-03-19  765       pr_err("%s in %pS 
age=%lu cpu=%u pid=%d\n",
86609d3319ad57f Chintan Pandya    2018-04-05  766              s, (void 
*)t->addr, pr_time - t->when, t->cpu, t->pid);
80a4eec3b671b3f Oliver Glitta     2021-07-07  767  #ifdef CONFIG_STACKDEPOT
80a4eec3b671b3f Oliver Glitta     2021-07-07  768       handle = 
READ_ONCE(t->handle);
80a4eec3b671b3f Oliver Glitta     2021-07-07  769       if (handle)
80a4eec3b671b3f Oliver Glitta     2021-07-07  770               
stack_depot_print(handle);
ae14c63a9f20d49 Linus Torvalds    2021-07-17  771       else
80a4eec3b671b3f Oliver Glitta     2021-07-07  772               pr_err("object 
allocation/free stack trace missing\n");
d6543e3935cec9f Ben Greear        2011-07-07  773  #endif
2492268472e7d32 Christoph Lameter 2007-07-17  774  }
2492268472e7d32 Christoph Lameter 2007-07-17  775  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to