The patch titled Subject: tools/vm/slabinfo: fix an unintentional printf has been added to the -mm tree. Its filename is tools-vm-slabinfo-fix-an-unintentional-printf.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/tools-vm-slabinfo-fix-an-unintentional-printf.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/tools-vm-slabinfo-fix-an-unintentional-printf.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Subject: tools/vm/slabinfo: fix an unintentional printf The curly braces are missing here so we print stuff unintentionally. Fixes: 9da4714a2d4f ('slub: slabinfo update for cmpxchg handling') Link: http://lkml.kernel.org/r/20160715211243.GE19522@mwanda Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Cc: Christoph Lameter <cl@xxxxxxxxx> Cc: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx> Cc: Colin Ian King <colin.king@xxxxxxxxxxxxx> Cc: Laura Abbott <labbott@xxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- tools/vm/slabinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -puN tools/vm/slabinfo.c~tools-vm-slabinfo-fix-an-unintentional-printf tools/vm/slabinfo.c --- a/tools/vm/slabinfo.c~tools-vm-slabinfo-fix-an-unintentional-printf +++ a/tools/vm/slabinfo.c @@ -510,10 +510,11 @@ static void slab_stats(struct slabinfo * s->alloc_node_mismatch, (s->alloc_node_mismatch * 100) / total); } - if (s->cmpxchg_double_fail || s->cmpxchg_double_cpu_fail) + if (s->cmpxchg_double_fail || s->cmpxchg_double_cpu_fail) { printf("\nCmpxchg_double Looping\n------------------------\n"); printf("Locked Cmpxchg Double redos %lu\nUnlocked Cmpxchg Double redos %lu\n", s->cmpxchg_double_fail, s->cmpxchg_double_cpu_fail); + } } static void report(struct slabinfo *s) _ Patches currently in -mm which might be from dan.carpenter@xxxxxxxxxx are testing-radix-tree-fix-a-macro-expansion-bug.patch tools-vm-slabinfo-fix-an-unintentional-printf.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html