public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [tip:WIP.x86/stackguards 1/32] mm/slab.c:1486:27: error: expected '}' before ';' token
@ 2019-04-14 22:29 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-04-14 22:29 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: kbuild-all, linux-kernel, tipbuild

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/stackguards
head:   310a7f5b0b42c6a8edeb74ae3289a98896e0e5c9
commit: 7552063baa017438f2bfd6060e0b949808acc812 [1/32] mm/slab: Fix broken stack trace storage
config: x86_64-randconfig-x003-201915 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 7552063baa017438f2bfd6060e0b949808acc812
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   mm/slab.c: In function 'store_stackinfo':
>> mm/slab.c:1486:27: error: expected '}' before ';' token
       .max_entries = size - 4;
                              ^

vim +1486 mm/slab.c

  1468	
  1469	#ifdef CONFIG_DEBUG_PAGEALLOC
  1470	static void store_stackinfo(struct kmem_cache *cachep, unsigned long *addr,
  1471				    unsigned long caller)
  1472	{
  1473		int size = cachep->object_size / sizeof(unsigned long);
  1474	
  1475		addr = (unsigned long *)&((char *)addr)[obj_offset(cachep)];
  1476	
  1477		if (size < 5)
  1478			return;
  1479	
  1480		*addr++ = 0x12345678;
  1481		*addr++ = caller;
  1482		*addr++ = smp_processor_id();
  1483	#ifdef CONFIG_STACKTRACE
  1484		{
  1485			struct stack_trace trace = {
> 1486				.max_entries	= size - 4;
  1487				.entries	= addr;
  1488				.skip		= 3;
  1489			};
  1490	
  1491			save_stack_trace(&trace);
  1492			addr += trace.nr_entries;
  1493		}
  1494	#endif
  1495		*addr = 0x87654321;
  1496	}
  1497	

---
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: 29463 bytes --]

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

only message in thread, other threads:[~2019-04-14 22:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-14 22:29 [tip:WIP.x86/stackguards 1/32] mm/slab.c:1486:27: error: expected '}' before ';' token 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