From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Subject: Re: [PATCH 1/3] staging/rdma/hfi1: consolidate kmalloc_array+memset into kcalloc Date: Mon, 14 Dec 2015 21:09:54 +0300 Message-ID: <20151214180954.GZ5284@mwanda> References: <1450104189-2653-1-git-send-email-hofrat@osadl.org> <32E1700B9017364D9B60AED9960492BC259CD82D@fmsmsx120.amr.corp.intel.com> <20151214174123.GB22987@osadl.at> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20151214174123.GB22987@osadl.at> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" To: Nicholas Mc Guire Cc: "devel@driverdev.osuosl.org" , "linux-rdma@vger.kernel.org" , Greg Kroah-Hartman , "linux-kernel@vger.kernel.org" , Doug Ledford , Nicholas Mc Guire , "Hefty, Sean" , Hal Rosenstock List-Id: linux-rdma@vger.kernel.org On Mon, Dec 14, 2015 at 05:41:23PM +0000, Nicholas Mc Guire wrote: > I obviously made a real mess here. > I incorrectly concluded that rxcontext is 0 which it is not in some cases Yep. Plus you build tested it but assumed that the unused variable warning must have been there in the original... I've done that for static checker warnings. Lesson learned, hopefully. regards, dan carpenter