From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail144.messagelabs.com (mail144.messagelabs.com [216.82.254.51]) by kanga.kvack.org (Postfix) with SMTP id DE3128D005B for ; Sat, 30 Oct 2010 19:28:23 -0400 (EDT) Received: by iwn38 with SMTP id 38so4514749iwn.14 for ; Sat, 30 Oct 2010 16:28:19 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Sun, 31 Oct 2010 08:28:19 +0900 Message-ID: Subject: Re: [PATCH] kmemleak: remove memset by using kzalloc From: Minchan Kim Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org To: Jesper Juhl Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Catalin Marinas List-ID: On Sun, Oct 31, 2010 at 6:43 AM, Jesper Juhl wrote: > We don't need to memset if we just use kzalloc() rather than kmalloc() in > kmemleak_test_init(). > > (please CC on replies) > > > Signed-off-by: Jesper Juhl Reviewed-by: Minchan Kim -- Kind regards, Minchan Kim -- 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/ . Fight unfair telecom policy in Canada: sign http://dissolvethecrtc.ca/ Don't email: email@kvack.org