Re: [PATCH] mm: slub: fix format mismatches in slab_err() callers

2014-11-05 Thread David Rientjes
On Wed, 5 Nov 2014, Andrey Ryabinin wrote: > Adding __printf(3, 4) to slab_err exposed following: > > mm/slub.c: In function ‘check_slab’: > mm/slub.c:852:4: warning: format ‘%u’ expects argument of type ‘unsigned > int’, but argument 4 has type ‘const char *’ [-Wformat=] > s->name,

Re: [PATCH] mm: slub: fix format mismatches in slab_err() callers

2014-11-05 Thread Christoph Lameter
On Wed, 5 Nov 2014, Andrey Ryabinin wrote: > Adding __printf(3, 4) to slab_err exposed following: Acked-by: Christoph Lameter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH] mm: slub: fix format mismatches in slab_err() callers

2014-11-05 Thread Andrey Ryabinin
Adding __printf(3, 4) to slab_err exposed following: mm/slub.c: In function ‘check_slab’: mm/slub.c:852:4: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘const char *’ [-Wformat=] s->name, page->objects, maxobj); ^ mm/slub.c:852:4: warning: too

[PATCH] mm: slub: fix format mismatches in slab_err() callers

2014-11-05 Thread Andrey Ryabinin
Adding __printf(3, 4) to slab_err exposed following: mm/slub.c: In function ‘check_slab’: mm/slub.c:852:4: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘const char *’ [-Wformat=] s-name, page-objects, maxobj); ^ mm/slub.c:852:4: warning: too many

Re: [PATCH] mm: slub: fix format mismatches in slab_err() callers

2014-11-05 Thread Christoph Lameter
On Wed, 5 Nov 2014, Andrey Ryabinin wrote: Adding __printf(3, 4) to slab_err exposed following: Acked-by: Christoph Lameter c...@linux.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH] mm: slub: fix format mismatches in slab_err() callers

2014-11-05 Thread David Rientjes
On Wed, 5 Nov 2014, Andrey Ryabinin wrote: Adding __printf(3, 4) to slab_err exposed following: mm/slub.c: In function ‘check_slab’: mm/slub.c:852:4: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘const char *’ [-Wformat=] s-name, page-objects,