From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47])
 by dpdk.org (Postfix) with ESMTP id 443B88E68
 for <dev@dpdk.org>; Mon, 16 May 2016 18:39:40 +0200 (CEST)
Received: by mail-wm0-f47.google.com with SMTP id a17so145341352wme.0
 for <dev@dpdk.org>; Mon, 16 May 2016 09:39:40 -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=KJucfwvzfFwAwMGExtfd5dALAEil3hHLsTk7X6rUYLk=;
 b=hIqiq6Z2uQxZd1MJ42nhold7F9aHnHL9W0rgDKjjQlGAtUgCZVP8vbn9vst0le/cPK
 49f2b71lafmJ2qIaNYDpp8KkvroMVeNr6QWvakpXrPyW684qe/Z65CAtuVBvraeenp/p
 uVR5oUBRuKNiO3QLXSONX4Qo53toS/dn3T4zkhG8h4MoaXzkL1qO14mFUfrxU/HUuB70
 cq3gRrVffqsERQuf0wVVhd89WebxN5Tpa37ir9uQQ69TignIiZvDBxtJxiLeTL1kvy5S
 CLQWIv9R+qMjqDhn7hy/FyjnKPD5ml5TB3lG/6THTyz1KkfVrf8ohPx51BiGVudBgfDw
 dAEw==
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=KJucfwvzfFwAwMGExtfd5dALAEil3hHLsTk7X6rUYLk=;
 b=ixzJ4/Ilm60Sm2TdtQfvjnnKFfzVpt8vIxKk5Xy31U9pn1M62mTtNqhU574/e6kL/R
 15xB6L0MeiNuElwPreky8UzPTQAEcLY2RyvecIFX7EcZGsOYGleE0atBhqJrGZPSYGF8
 +sxB4BThs2Ytyw0B9H56ArIFdiThvQKO0Pdlnc/SgVNAfQqSOJTRBiOwQO3EURz0cIZC
 oO9OTt6vBRkGMNTZ99hn7qXCUE88IOib0qxtwmGLK//C49Vu5N5jcOtNtUUSga14eK9a
 lscmsS+RzLnxTttm7hwsuivUNdAC7JcHthAjo1Uh3bOlwv2pnAEkKUvT8Emo5lkJiVcC
 rPaw==
X-Gm-Message-State: AOPr4FUSmBi1HVtt6p4LuZhvk0iydUHZ9R+C+gi3bj/waFldEjGuy7FOu8V4aq7peFyYtb2N
X-Received: by 10.194.175.36 with SMTP id bx4mr30659128wjc.35.1463416780035;
 Mon, 16 May 2016 09:39:40 -0700 (PDT)
Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184])
 by smtp.gmail.com with ESMTPSA id v143sm19223170wmv.4.2016.05.16.09.39.39
 (version=TLSv1/SSLv3 cipher=OTHER);
 Mon, 16 May 2016 09:39:39 -0700 (PDT)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: "Mrozowicz, SlawomirX" <slawomirx.mrozowicz@intel.com>
Cc: dev@dpdk.org, "Dumitrescu, Cristian" <cristian.dumitrescu@intel.com>,
 "Singh, Jasvinder" <jasvinder.singh@intel.com>
Date: Mon, 16 May 2016 18:39:38 +0200
Message-ID: <2100062.7K4NYJbD6d@xps13>
User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; )
In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D89126479BB334@IRSMSX108.ger.corp.intel.com>
References: <1462956485-3701-1-git-send-email-slawomirx.mrozowicz@intel.com>
 <3EB4FA525960D640B5BDFFD6A3D89126479BB334@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 v4] examples/qos_sched: fix bad bit shift
	operation
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Mon, 16 May 2016 16:39:40 -0000

> > Fix issue reported by Coverity.
> > 
> > Coverity ID 30690: Bad bit shift operation
> > large_shift: In expression 1ULL << i, left shifting by more than 63 bits
> > has undefined behavior. The shift amount, i, is as much as 127.
> > 
> > Fixes: de3cfa2c9823 ("sched: initial import")
> > 
> > Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com>
> 
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>

Applied, thanks