From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f176.google.com (mail-we0-f176.google.com [74.125.82.176]) by dpdk.org (Postfix) with ESMTP id C585C5951 for ; Fri, 26 Jul 2013 16:41:30 +0200 (CEST) Received: by mail-we0-f176.google.com with SMTP id q56so1913872wes.7 for ; Fri, 26 Jul 2013 07:41:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:organization:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id:x-gm-message-state; bh=7jS04HkSVA39Jq2PHWewBwGLb8fBA/EqWvUR/KsKtVk=; b=L0lxYnqLM7qhqm5482w+LTC6/bsVopYbvf97PlIC/qXwOXLLNrinNlVEQP+nX8jIMj A7YgA4Ju4tmOAN1MUJRfkVerB4THQG8oqi1/0D53ZP7G5f99ym4myLK2wCnj6zIGrH16 E3dRNwwj7SujzORlR48wcsFbOfA6etL01jiMsCfyMoHXmZyzZimFioWibX6hR+E3k+6O BhYErp5ZMzeTDEjQaJgjH+uOsLUQDE1KJE0QMnF50VWNwvEtJ/gqc2x1JLfI8LGm84F2 QBL7Dv5DrHkEbxSBqY0z9Ls4539+W6IDsM3+uU2xXtYljN2FfpKz2/Q5M362v2UykV+E +jIA== X-Received: by 10.180.9.235 with SMTP id d11mr5909511wib.35.1374849713674; Fri, 26 Jul 2013 07:41:53 -0700 (PDT) Received: from angus.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id ev19sm5252643wid.2.2013.07.26.07.41.51 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 26 Jul 2013 07:41:52 -0700 (PDT) From: Thomas Monjalon Organization: 6WIND To: Adrien Mazarguil Date: Fri, 26 Jul 2013 16:41:50 +0200 User-Agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) References: <1374847600-25295-1-git-send-email-thomas.monjalon@6wind.com> <20130726143720.GM7849@6wind.com> In-Reply-To: <20130726143720.GM7849@6wind.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201307261641.50803.thomas.monjalon@6wind.com> X-Gm-Message-State: ALoCoQlXNDHzupZJZu78F+wJg1hB5c7vLS6C3fOqxbkRiggGv5FTw2AUOz4DV/JncHn+xTbTOxA2 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:41:31 -0000 26/07/2013 16:37, Adrien Mazarguil : > 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 pushed -- Thomas