Re: [PATCH 2.6.28-rc5 00/11] Kernel memory leak detector (updated)
From: Ingo Molnar
Date: Thu Nov 20 2008 - 07:10:45 EST
got a couple of build errors and warnings on x86 with the attached
config:
mm/memleak.c: In function 'dump_object_info':
mm/memleak.c:325: warning: format '%u' expects type 'unsigned int', but argument 3 has type 'size_t'
mm/memleak.c: In function 'create_object':
mm/memleak.c:435: error: implicit declaration of function 'in_irq'
mm/memleak.c:438: error: implicit declaration of function 'in_softirq'
mm/memleak.c: In function 'memleak_alloc':
mm/memleak.c:605: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'size_t'
mm/memleak.c: In function 'scan_yield':
mm/memleak.c:682: error: implicit declaration of function 'in_atomic'
mm/memleak.c: In function 'memleak_scan':
mm/memleak.c:828: error: implicit declaration of function 'NODE_MEM_MAP'
mm/memleak.c:828: warning: assignment makes pointer from integer without a cast
mm/memleak.c: In function 'memleak_seq_show':
mm/memleak.c:944: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'size_t'
i fixed one - see it below.
Ingo
------------>