From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id EF9B18044 for ; Tue, 16 Dec 2014 18:05:14 +0100 (CET) Received: by mail-wi0-f172.google.com with SMTP id n3so12921381wiv.17 for ; Tue, 16 Dec 2014 09:05:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=G0XVhCqJ2WQ6ffGK0/Mz154g02BY7aTNehAHbC2tnDY=; b=dueaUeXFUccifCrpHW13uC7KoeYdMxEueLcZwLXe/wEdy6rIrJQvsM94Or9LHmBIm5 QjNG4r/sc9fvpXsCMCLd5YYGBAMgmewgSgyty3Pqg/Bs04Heww4nkshYG5QQo3X932VZ TlntioWPII1HV8wJv4GwOa0LtJLZ8dUL/nL2XBpfs/ZQ1Qvjrj3sLNZ2aCXc29ZwQ0D6 BE/IXA+8Pn9mUnibG8HX/Wr6wZFucdgxBFu7Gx6DM5pz+iBe3qD0DJQc+oNWpLn1lOke EmId+mQV0RGjYtx2shpB/pQPrOCaA2kIYVqCM3SeiRlEAXpI8hjVNyujnyopmrJu/76B xUhg== X-Gm-Message-State: ALoCoQmZy3nRK0uV+o8MJsLiaZMEdZk/SI0ELRqJtYqVDIeNF/+fPoZcu3FdogP19gLzZf/+9TNz X-Received: by 10.180.20.106 with SMTP id m10mr6534162wie.1.1418749514818; Tue, 16 Dec 2014 09:05:14 -0800 (PST) Received: from [10.16.0.195] (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by mx.google.com with ESMTPSA id h13sm17643708wiw.4.2014.12.16.09.05.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Dec 2014 09:05:14 -0800 (PST) Message-ID: <54906649.8080905@6wind.com> Date: Tue, 16 Dec 2014 18:05:13 +0100 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-Version: 1.0 To: Pablo de Lara , dev@dpdk.org References: <1418650906-11545-1-git-send-email-pablo.de.lara.guarch@intel.com> In-Reply-To: <1418650906-11545-1-git-send-email-pablo.de.lara.guarch@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] ring: Fix return type in enqueue and dequeue burst functions 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: Tue, 16 Dec 2014 17:05:15 -0000 Hi Pablo, On 12/15/2014 02:41 PM, Pablo de Lara wrote: > Enqueue and dequeue burst functions always return a positive > value (including 0), so return type should be unsigned, > instead of int. > > Fixed also API doc for one of the functions. > > Signed-off-by: Pablo de Lara Acked-by: Olivier Matz