Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965009AbVINFHU (ORCPT ); Wed, 14 Sep 2005 01:07:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965010AbVINFHU (ORCPT ); Wed, 14 Sep 2005 01:07:20 -0400 Received: from 167.imtp.Ilyichevsk.Odessa.UA ([195.66.192.167]:16046 "HELO port.imtp.ilyichevsk.odessa.ua") by vger.kernel.org with SMTP id S965009AbVINFHT convert rfc822-to-8bit (ORCPT ); Wed, 14 Sep 2005 01:07:19 -0400 From: Denis Vlasenko To: James Morris Subject: Re: [PATCH] SELinux - convert to kzalloc Date: Wed, 14 Sep 2005 08:06:44 +0300 User-Agent: KMail/1.8.2 Cc: Andrew Morton , linux-kernel@vger.kernel.org, Stephen Smalley References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Message-Id: <200509140806.44304.vda@ilport.com.ua> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 459 Lines: 12 On Tuesday 13 September 2005 18:18, James Morris wrote: > -???????*names = (char**)kmalloc(sizeof(char*) * *len, GFP_ATOMIC); > +???????*names = (char**)kzalloc(sizeof(char*) * *len, GFP_ATOMIC); Extra cast -- vda - 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/