From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by kanga.kvack.org (Postfix) with ESMTP id 6DEB86B00B4 for ; Mon, 24 Nov 2014 12:17:25 -0500 (EST) Received: by mail-ie0-f182.google.com with SMTP id x19so9234377ier.41 for ; Mon, 24 Nov 2014 09:17:25 -0800 (PST) Received: from resqmta-po-03v.sys.comcast.net (resqmta-po-03v.sys.comcast.net. [2001:558:fe16:19:96:114:154:162]) by mx.google.com with ESMTPS id h7si5268983iga.21.2014.11.24.09.17.23 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 24 Nov 2014 09:17:24 -0800 (PST) Date: Mon, 24 Nov 2014 11:17:22 -0600 (CST) From: Christoph Lameter Subject: Re: [PATCH] slub: fix confusing error messages in check_slab In-Reply-To: Message-ID: References: Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Min-Hua Chen Cc: Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , "linux-kernel@vger.kernel.org" , linux-mm@kvack.org 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. Acked-by: Christoph Lameter -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org