From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 60CDF5948 for ; Fri, 26 Jul 2013 16:37:00 +0200 (CEST) Received: by mail-wg0-f51.google.com with SMTP id e12so950518wgh.6 for ; Fri, 26 Jul 2013 07:37:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-gm-message-state; bh=cjPboJxHD7mEQorYEzWnthAz/JysCkHYADJMUOHVsDE=; b=APnlXTwlmwNzRI6JAUb0lFEIDsBPpBaYPchOX+jcY7FFsqHjvhQJINExkn38bBcz64 S3BcWxbsBs1Bbw+lyfOujfobfZVvMcsLxFOnZF5PvINTlpt08DX/tphqxCxpJ7ARD9L5 wb/sFt3l63Dpj0C2ON6q1o+o25SJBnhRyucV/fcoEeHLfbu7S/kjfxlQcJLFNmOOJLFq LJpVwZyPmdmAFkWTfB55iBSK9IGh9v/lW6UKR2uajfPULDSi/iFzO5YNLu1Rs+6TF9ti Mwa+FEwhyEYdjG2h9UQ+y+OIdGdcSHwoJy/KhI78YUSVJSZpcxUyaoKvbpH2AcSkXiPe Xlvw== X-Received: by 10.194.157.198 with SMTP id wo6mr35102145wjb.60.1374849443259; Fri, 26 Jul 2013 07:37:23 -0700 (PDT) Received: from 6wind.com (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id d8sm5250780wiz.0.2013.07.26.07.37.21 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 26 Jul 2013 07:37:22 -0700 (PDT) Date: Fri, 26 Jul 2013 16:37:20 +0200 From: Adrien Mazarguil To: Thomas Monjalon Message-ID: <20130726143720.GM7849@6wind.com> References: <1374847600-25295-1-git-send-email-thomas.monjalon@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1374847600-25295-1-git-send-email-thomas.monjalon@6wind.com> X-Gm-Message-State: ALoCoQlGagGuaLYyYtmn3m+H0MG/oJ6nEef1P+t/nqYnqSCcAlcq5zcidW3BmCMyjIkLDBadTYrE Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] mem: more const qualifiers in malloc API 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: Fri, 26 Jul 2013 14:37:00 -0000 On Fri, Jul 26, 2013 at 04:06:40PM +0200, Thomas Monjalon wrote: > Some functions don't modify their parameter which should be marked as const. > > Signed-off-by: Thomas Monjalon > --- > lib/librte_malloc/malloc_elem.h | 6 +++--- > lib/librte_malloc/malloc_heap.c | 2 +- > lib/librte_malloc/malloc_heap.h | 2 +- > lib/librte_malloc/rte_malloc.c | 4 ++-- > lib/librte_malloc/rte_malloc.h | 2 +- > 5 files changed, 8 insertions(+), 8 deletions(-) Acked-by: Adrien Mazarguil -- Adrien Mazarguil 6WIND