public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [tip:WIP.core/stacktrace 24/47] mm/slab.c:1490:11: error: 'trace' undeclared
@ 2019-04-15  0:57 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-04-15  0:57 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: kbuild-all, linux-kernel, tipbuild

[-- Attachment #1: Type: text/plain, Size: 3026 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.core/stacktrace
head:   63c35ea6b829a0f98d307a8dec038095681ecd13
commit: c79cc35c00e9f15a9a32a08569036cb8365c8816 [24/47] mm/slab: Simplify stack trace handling
config: i386-randconfig-a1-201915 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
        git checkout c79cc35c00e9f15a9a32a08569036cb8365c8816
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   mm/slab.c: In function 'store_stackinfo':
>> mm/slab.c:1490:11: error: 'trace' undeclared (first use in this function)
      addr += trace.nr_entries;
              ^
   mm/slab.c:1490:11: note: each undeclared identifier is reported only once for each function it appears in

vim +/trace +1490 mm/slab.c

^1da177e Linus Torvalds  2005-04-16  1468  
^1da177e Linus Torvalds  2005-04-16  1469  #ifdef CONFIG_DEBUG_PAGEALLOC
343e0d7a Pekka Enberg    2006-02-01  1470  static void store_stackinfo(struct kmem_cache *cachep, unsigned long *addr,
^1da177e Linus Torvalds  2005-04-16  1471  			    unsigned long caller)
^1da177e Linus Torvalds  2005-04-16  1472  {
b8623975 Thomas Gleixner 2019-04-08  1473  	int size = cachep->object_size / sizeof(unsigned long);
^1da177e Linus Torvalds  2005-04-16  1474  
3dafccf2 Manfred Spraul  2006-02-01  1475  	addr = (unsigned long *)&((char *)addr)[obj_offset(cachep)];
^1da177e Linus Torvalds  2005-04-16  1476  
b8623975 Thomas Gleixner 2019-04-08  1477  	if (size < 5)
^1da177e Linus Torvalds  2005-04-16  1478  		return;
^1da177e Linus Torvalds  2005-04-16  1479  
^1da177e Linus Torvalds  2005-04-16  1480  	*addr++ = 0x12345678;
^1da177e Linus Torvalds  2005-04-16  1481  	*addr++ = caller;
^1da177e Linus Torvalds  2005-04-16  1482  	*addr++ = smp_processor_id();
b8623975 Thomas Gleixner 2019-04-08  1483  	size -= 3;
b8623975 Thomas Gleixner 2019-04-08  1484  #ifdef CONFIG_STACKTRACE
^1da177e Linus Torvalds  2005-04-16  1485  	{
c79cc35c Thomas Gleixner 2019-04-14  1486  		unsigned int nr_entries;
^1da177e Linus Torvalds  2005-04-16  1487  
c79cc35c Thomas Gleixner 2019-04-14  1488  		/* Leave one for the end marker below */
c79cc35c Thomas Gleixner 2019-04-14  1489  		nr_entries = stack_trace_save(addr, size - 1, 3);
b8623975 Thomas Gleixner 2019-04-08 @1490  		addr += trace.nr_entries;
^1da177e Linus Torvalds  2005-04-16  1491  	}
b8623975 Thomas Gleixner 2019-04-08  1492  #endif
b8623975 Thomas Gleixner 2019-04-08  1493  	*addr = 0x87654321;
^1da177e Linus Torvalds  2005-04-16  1494  }
40b44137 Joonsoo Kim     2016-03-15  1495  

:::::: The code at line 1490 was first introduced by commit
:::::: b86239751f8c4d6fc43f6a9eca29e77b0319f5d7 mm/slab: Fix broken stack trace storage

:::::: TO: Thomas Gleixner <tglx@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31693 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-15  0:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-15  0:57 [tip:WIP.core/stacktrace 24/47] mm/slab.c:1490:11: error: 'trace' undeclared kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox