From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 427FD1B43C for ; Fri, 23 Nov 2018 11:30:09 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9154658E49; Fri, 23 Nov 2018 10:30:08 +0000 (UTC) Received: from ktraynor.remote.csb (unknown [10.36.118.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id 150A818A51; Fri, 23 Nov 2018 10:30:06 +0000 (UTC) From: Kevin Traynor To: Ferruh Yigit Cc: Wei Zhao , dpdk stable Date: Fri, 23 Nov 2018 10:26:49 +0000 Message-Id: <20181123102713.17309-45-ktraynor@redhat.com> In-Reply-To: <20181123102713.17309-1-ktraynor@redhat.com> References: <20181123102713.17309-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Fri, 23 Nov 2018 10:30:08 +0000 (UTC) Subject: [dpdk-stable] patch 'net/avf/base: fix shifting 32-bit signed variable 31 times' has been queued to stable release 18.08.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Nov 2018 10:30:09 -0000 Hi, FYI, your patch has been queued to stable release 18.08.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/29/18. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. If the code is different (ie: not only metadata diffs), due for example to a change in context or macro names, please double check it. Thanks. Kevin Traynor --- >>From b0e7ad911f9bef92543efb95c30d986648f72df6 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Sun, 28 Oct 2018 03:51:33 +0000 Subject: [PATCH] net/avf/base: fix shifting 32-bit signed variable 31 times [ upstream commit 37cf9ea83dc27be4917dbd01aaae182df9800c7f ] Fixes: e5b2a9e957e7 ("net/avf/base: add base code for avf PMD") Signed-off-by: Ferruh Yigit Reviewed-by: Wei Zhao --- drivers/net/avf/base/avf_register.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/avf/base/avf_register.h b/drivers/net/avf/base/avf_register.h index ba5a9f3fa..adb989583 100644 --- a/drivers/net/avf/base/avf_register.h +++ b/drivers/net/avf/base/avf_register.h @@ -77,5 +77,5 @@ POSSIBILITY OF SUCH DAMAGE. #define AVF_ARQLEN1_ARQCRIT_MASK AVF_MASK(0x1, AVF_ARQLEN1_ARQCRIT_SHIFT) #define AVF_ARQLEN1_ARQENABLE_SHIFT 31 -#define AVF_ARQLEN1_ARQENABLE_MASK AVF_MASK(0x1, AVF_ARQLEN1_ARQENABLE_SHIFT) +#define AVF_ARQLEN1_ARQENABLE_MASK AVF_MASK(0x1U, AVF_ARQLEN1_ARQENABLE_SHIFT) #define AVF_ARQT1 0x00007000 /* Reset: EMPR */ #define AVF_ARQT1_ARQT_SHIFT 0 @@ -100,5 +100,5 @@ POSSIBILITY OF SUCH DAMAGE. #define AVF_ATQLEN1_ATQCRIT_MASK AVF_MASK(0x1, AVF_ATQLEN1_ATQCRIT_SHIFT) #define AVF_ATQLEN1_ATQENABLE_SHIFT 31 -#define AVF_ATQLEN1_ATQENABLE_MASK AVF_MASK(0x1, AVF_ATQLEN1_ATQENABLE_SHIFT) +#define AVF_ATQLEN1_ATQENABLE_MASK AVF_MASK(0x1U, AVF_ATQLEN1_ATQENABLE_SHIFT) #define AVF_ATQT1 0x00008400 /* Reset: EMPR */ #define AVF_ATQT1_ATQT_SHIFT 0 -- 2.19.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2018-11-23 10:22:55.431530149 +0000 +++ 0045-net-avf-base-fix-shifting-32-bit-signed-variable-31-.patch 2018-11-23 10:22:54.000000000 +0000 @@ -1,10 +1,11 @@ -From 37cf9ea83dc27be4917dbd01aaae182df9800c7f Mon Sep 17 00:00:00 2001 +From b0e7ad911f9bef92543efb95c30d986648f72df6 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Sun, 28 Oct 2018 03:51:33 +0000 Subject: [PATCH] net/avf/base: fix shifting 32-bit signed variable 31 times +[ upstream commit 37cf9ea83dc27be4917dbd01aaae182df9800c7f ] + Fixes: e5b2a9e957e7 ("net/avf/base: add base code for avf PMD") -Cc: stable@dpdk.org Signed-off-by: Ferruh Yigit Reviewed-by: Wei Zhao