From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762194AbXGEW0X (ORCPT ); Thu, 5 Jul 2007 18:26:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758413AbXGEW0Q (ORCPT ); Thu, 5 Jul 2007 18:26:16 -0400 Received: from wa-out-1112.google.com ([209.85.146.183]:16017 "EHLO wa-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757570AbXGEW0P (ORCPT ); Thu, 5 Jul 2007 18:26:15 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=seaylPMG8GOKZHK46Tb7R/vK5HZDV9pzT74AdCo2DIwAwBeVk0dWKIwUjvaTDR9ib1/pgHto6LJjqVGhF+FuYhU/oP7hMr1P4+ca+XA1Li9gp9z/xS8zPyYIKOpYZJCWJkJLAxmAtJezW2ACMlq8dfsxkg4vGbduY21gQ9p65oQ= Message-ID: <9a8748490707051526w6629fd3fkcfd57d301f67ddcc@mail.gmail.com> Date: Fri, 6 Jul 2007 00:26:14 +0200 From: "Jesper Juhl" To: "Roland Dreier" Subject: Re: [-mm Patch] INFINIBAND: check the return value of kmalloc Cc: "WANG Cong" , rolandd@cisco.com, mshefty@ichips.intel.com, halr@voltaire.com, "Andrew Morton" , LKML , "Steve Wise" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070704163741.GA2510@localhost.localdomain> <9a8748490707041700q18608e3ave4465f1181b97e2f@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On 05/07/07, Roland Dreier wrote: > thanks, I added Jesper's suggestion to the original patch and queued > this for 2.6.23: > > (Steve, let me know if this looks OK or not to you) > It certainly looks OK to me :-) > commit 8d339921a2cb279457dce79f8a308978e0b41b27 > Author: WANG Cong > Date: Thu Jul 5 14:40:32 2007 -0700 > > RDMA/cxgb3: Check return of kmalloc() in iwch_register_device() > > Signed-off-by: WANG Cong > [ Also remove cast from void * return of kmalloc() as suggested by > Jesper Juhl . ] > Signed-off-by: Roland Dreier Signed-off-by: Jesper Juhl -- Jesper Juhl Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html Plain text mails only, please http://www.expita.com/nomime.html