From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 5894F5A7A for ; Wed, 4 Mar 2015 21:53:04 +0100 (CET) Received: by wghn12 with SMTP id n12so9110710wgh.3 for ; Wed, 04 Mar 2015 12:53:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=qBCj6UqR97B3G9r0GbAX8DFONjmQ2hvtjCfVQoFmY/8=; b=J763OXfDrBag0H2VVbjszclQ4eN2+5RBZ50MmJO85PeWFNCdzOHarSK1J9QooKtt81 41HddYWjvA6VdrhK9NJ6CKXiE1/R/2qXph2rVrsmuRBC+THAY5I+ldC1zvll4eTaLEHS JMjO3rUWCEiy2dYpF7tOXHW0YHX4dFAbxB9P6uD9iWkHZVFipwXYh0NTk4sHKVCHZqcR 9RS0wEhMQpyFgJdOE4w28lc2LKvawVNZv6U7KzBwkEu/JvUjbFeqJdaXcOh/MXEgGOl3 BX8vNULIxys+W+Jpz0FqUpjNqAdxOxRUDNR0/ldW5anI287u7erNyj0yD0duvbzi9Rx5 lCvg== X-Gm-Message-State: ALoCoQlGxVxGREhybS2nFkTDTXR5PbA6BkCH3C1JYTPw+mz76tpvKySG2s8cSDac/wE2zxKqqhGG X-Received: by 10.180.82.103 with SMTP id h7mr41180346wiy.30.1425502382830; Wed, 04 Mar 2015 12:53:02 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id n3sm7508694wja.36.2015.03.04.12.53.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Mar 2015 12:53:01 -0800 (PST) From: Thomas Monjalon To: Stephen Hemminger Date: Wed, 04 Mar 2015 21:52:27 +0100 Message-ID: <1639067.tFOCTn1eHu@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: <20150219145315.GA700@bricha3-MOBL3> References: <1423925950-5201-1-git-send-email-shemming@brocade.com> <20150219145315.GA700@bricha3-MOBL3> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, Stephen Hemminger Subject: Re: [dpdk-dev] [PATCH 1/6] test: remove unneeded casts X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2015 20:53:04 -0000 2015-02-19 14:53, Bruce Richardson: > On Sat, Feb 14, 2015 at 09:59:05AM -0500, Stephen Hemminger wrote: > > The malloc family returns void * and therefore cast is unnecessary. > > Use calloc rather than zmalloc with multiply for array. > > > > Signed-off-by: Stephen Hemminger > > Looks like a good basic cleanup > > Acked-by: Bruce Richardson Applied the series despite the lack of answer to simple questions.