Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756617Ab3CSCpR (ORCPT ); Mon, 18 Mar 2013 22:45:17 -0400 Received: from mail-ob0-f172.google.com ([209.85.214.172]:40077 "EHLO mail-ob0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753439Ab3CSCpP (ORCPT ); Mon, 18 Mar 2013 22:45:15 -0400 Date: Mon, 18 Mar 2013 19:41:21 -0700 From: Anton Vorontsov To: Kees Cook Cc: Alexandru Gheorghiu , Colin Cross , Tony Luck , LKML Subject: Re: [PATCH] fs: pstore: Replaced calls to kmalloc and memcpy with kmemdup Message-ID: <20130319024121.GC14118@lizard.gateway.2wire.net> References: <1362830248-7017-1-git-send-email-gheorghiuandru@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 713 Lines: 20 On Sun, Mar 10, 2013 at 04:23:01PM -0700, Kees Cook wrote: > On Sat, Mar 9, 2013 at 3:57 AM, Alexandru Gheorghiu > wrote: > > Replaced calls to kmalloc and memcpy with a single call to kmemdup. > > This patch was found using coccicheck. > > > > Signed-off-by: Alexandru Gheorghiu [...] > Looks fine to me. Thanks! > > Acked-by: Kees Cook Applied to linux-pstore.git, thanks a lot! Anton -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/