From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 5D2475AA9 for ; Mon, 16 May 2016 18:02:46 +0200 (CEST) Received: by mail-wm0-f45.google.com with SMTP id a17so143689422wme.0 for ; Mon, 16 May 2016 09:02:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=k0WmrYHIexRRvdy1uHnPlTMVgsio5Tq/hOKwo79HFpQ=; b=ZawYSbrkEhxeeIjUW+Cac7BIUtYwqz4fblK5mw3FGaVNqEcbbsf9BVcDVLx+/BcIAW OzWaoGL6sfy5ZtlfE0kZgxHhuxcF3qI9vMECkaNvRT69jmjMD4TeeIlj607ZTAo4bOC7 SIQXcBo6ck1jAbpWx29BsBS4yCKvZx5eJqUxISmKzCYs32OY1K8MZnW7Ol1YRXntn3Sw jq/mx4L9fslN0e4Tq1yTSFP+3+SonftjUbr9sm7Ysd/OStxTgLTwmxb6AkWD/3eNb1U/ Q2chk89fo2kZ09gPAPHa8grCiMgPAJEVcQUY+RdecWVXnEk64JeWJvq39mqlP2ipZv2e 1LKQ== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=k0WmrYHIexRRvdy1uHnPlTMVgsio5Tq/hOKwo79HFpQ=; b=COVxUWfEct0KwfPWGoW3uN9X1neS7tyckyuyhbLXgf26a/ytQWbN0ssli66orCgs6F ZHyJIawnjGn3kkK8X03h06fT39gTj40/IJRXK1Ia96fY3K9V1tUM0c12RVvv9qDKBr97 1lMfWw1YK9M4jYeuuW2Gb03W5JgDuTNX0ts4fwY3AwA1yy6ixz0cS3B1gHKNiMD55FeF 6yPWabmp+fwYTV/lSx9gttcoBDKJ+5/MxwF42i8XM1yKxmipDKF0Y03qPVcMIoKDBI5Z /dSaDxAOyV6xNnIbCmuN7JVpP8X7j6nIJd6crlWONegfAP4usMHANYkBi0Jf0ml6LExL 2QSw== X-Gm-Message-State: AOPr4FX+Tg7w1Te0CXhh41FfCyoYi3OMXufCGtwiRgAZLbdGda6gp1xotxRCzOQw2wJvnUga X-Received: by 10.194.82.168 with SMTP id j8mr34691605wjy.37.1463414566107; Mon, 16 May 2016 09:02:46 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id p129sm19004500wmd.13.2016.05.16.09.02.45 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 16 May 2016 09:02:45 -0700 (PDT) From: Thomas Monjalon To: "Mrozowicz, SlawomirX" Cc: dev@dpdk.org, "Dumitrescu, Cristian" , "Jastrzebski, MichalX K" , "Zhang, Roy Fan" , "Singh, Jasvinder" Date: Mon, 16 May 2016 18:02:44 +0200 Message-ID: <7265971.uXMpWF0bc8@xps13> User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D89126479A6EC9@IRSMSX108.ger.corp.intel.com> References: <1461244093-2008-1-git-send-email-michalx.k.jastrzebski@intel.com> <3EB4FA525960D640B5BDFFD6A3D89126479A6EC9@IRSMSX108.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v3] examples/qos_sched: fix negative loop bound 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: Mon, 16 May 2016 16:02:46 -0000 > > Fix issue reported by Coverity. > > > > Coverity ID 30704: Negative loop bound > > negative_returns: Using unsigned variable n_tokens in a loop exit condition. > > > > Fixes: de3cfa2c9823 ("sched: initial import") > > > > Signed-off-by: Slawomir Mrozowicz > > Acked-by: Cristian Dumitrescu There is no explanation but as it is acked and not so important, Applied