Re: [PATCH] slub: fix confusing error messages in check_slab

From: Andrey Ryabinin
Date: Mon Nov 24 2014 - 12:40:10 EST


2014-11-24 20:17 GMT+03:00 Christoph Lameter <cl@xxxxxxxxx>:
> On Mon, 24 Nov 2014, Min-Hua Chen wrote:
>
>> In check_slab, s->name is passed incorrectly to the error
>> messages. It will cause confusing error messages if the object
>> check fails. This patch fix this bug by removing s->name.
>
> I have seen a patch like thios before.
>

It's in -mm already
http://ozlabs.org/~akpm/mmotm/broken-out/mm-slub-fix-format-mismatches-in-slab_err-callers.patch

> Acked-by: Christoph Lameter <cl@xxxxxxxxx>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/