From: Ferruh Yigit Subject: Re: [PATCH] net/i40e: fix shifts of 32-bit value Date: Wed, 23 May 2018 16:49:03 +0100 Message-ID: <7739db21-a331-55da-5ead-aa656600adbf@intel.com> References: <1527061606-10172-1-git-send-email-beilei.xing@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org, jia.guo@intel.com To: Beilei Xing , qi.z.zhang@intel.com Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 8F9F32BD8 for ; Wed, 23 May 2018 17:49:06 +0200 (CEST) In-Reply-To: <1527061606-10172-1-git-send-email-beilei.xing@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 5/23/2018 8:46 AM, Beilei Xing wrote: > Cppcheck reports following error, > (error) Shifting 32-bit value by 36 bits is undefined behaviour > > According to datasheet, there's PHY type and PHY type extension > in setting PHY config command, should exclude PHY type extension > when setting PHY type. > > Fixes: 1bb8f661168d ("net/i40e: fix link down and negotiation") > > Signed-off-by: Beilei Xing Hi Beilei, This patc was late for rc5, it will be considered for next release. Thanks, ferruh