Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751584AbeACDBu (ORCPT + 1 other); Tue, 2 Jan 2018 22:01:50 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:55318 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751149AbeACDBt (ORCPT ); Tue, 2 Jan 2018 22:01:49 -0500 Date: Tue, 02 Jan 2018 22:01:47 -0500 (EST) Message-Id: <20180102.220147.151811989106706897.davem@davemloft.net> To: himanshujha199640@gmail.com Cc: derek.chickles@caviumnetworks.com, satananda.burla@caviumnetworks.com, felix.manlunas@caviumnetworks.com, raghu.vatsavayi@caviumnetworks.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] liquidio: Use zeroing memory allocator than allocator/memset From: David Miller In-Reply-To: <1514723249-5736-1-git-send-email-himanshujha199640@gmail.com> References: <1514723249-5736-1-git-send-email-himanshujha199640@gmail.com> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 02 Jan 2018 19:01:48 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: From: Himanshu Jha Date: Sun, 31 Dec 2017 17:57:29 +0530 > Use vzalloc for allocating zeroed memory and remove unnecessary > memset function. > > Done using Coccinelle. > Generated-by: scripts/coccinelle/api/alloc/kzalloc-simple.cocci > 0-day tested with no failures. > > Suggested-by: Luis R. Rodriguez > Signed-off-by: Himanshu Jha Applied to net-next.