From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1C332A09EF for ; Tue, 12 Jan 2021 22:45:58 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0F6DA140D29; Tue, 12 Jan 2021 22:45:58 +0100 (CET) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id 36B23140D18; Tue, 12 Jan 2021 22:45:56 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id D2A7C5C0560; Tue, 12 Jan 2021 16:45:55 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 12 Jan 2021 16:45:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm3; bh= m9LzjgOP02IoX1/jr0eKNFWhDFwpxWPKWMBFGQNc6x4=; b=WCWLdQoGWm78lNCj rViBqkL+YuMxfbIBgOHk9vCMe3Pl+pYw+SO5IUyJAH4g4sLkBwihBrwXxH8c2DgV fOAFVwZBw3zOXqWCn7h9DkfOxNKXG1pug/dl/4+MFzOBo2+QfXKL1azgZ5tFDOiw wadkwIlcQ121lnvlzifzuuDrJoEPBF35BAD4WK8ZTjwiiOIjlMaWPx8jchum+pkZ WxrKaI73oSqgq7jEkOmE21dJZxX60NZ1NKflLGAGhdHF7+DpRu6Kg73hNFiaa2bl t6SBQcSkXG1Ye8TJ//pNlaP3XDUn17nx0Ym2NfFjvlMeUGgxzu/RBXANXsEkwzLk Pkpf/g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=m9LzjgOP02IoX1/jr0eKNFWhDFwpxWPKWMBFGQNc6 x4=; b=LK9p601KJwKXUp/ikJw4ZGl/hhPDthkNVP4eXyFmIsgbhhPitZmhHxcLV jwqFY6PhTIMmOjm/PzHa5kxgBDhKf8wUlSFC+JQ3iKAENUmHK87p29HrPz0hsfHR 4nznEdngi/ot/5MKVgjU/87IM+bDXTj+kDpN3enriXr8JPetTjLTx4aqgE7hPhLi PSQVft4mfZE5skKf2D7dkaPu6RPGUcF6YBLZDUQcq6EOKJ5LwU8qArGrvfL8TVw/ yIL8MfI0SiDkuVcydpjjfNHMp265xcSu+nMOOVeMjdsECmzSB6EDguBtZ3OV6GW3 Yio7n/GGjVnFrKAbOjiGjxavmSczg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedukedrtddtgdduvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id C0E2A108005C; Tue, 12 Jan 2021 16:45:54 -0500 (EST) From: Thomas Monjalon To: Tal Shnaiderman Cc: "dev@dpdk.org" , Raslan Darawsheh , Ophir Munk , "stable@dpdk.org" , Matan Azrad Date: Tue, 12 Jan 2021 22:45:53 +0100 Message-ID: <3301193.NFa3CnqSlU@thomas> In-Reply-To: References: <20210106134221.12896-1-talshn@nvidia.com> <20210107114545.12124-1-talshn@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH v2] mlx5: fix __mlx5_bit_off macro warning for Windows X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 07/01/2021 13:59, Matan Azrad: > From: Tal Shnaiderman > > While compiling with clang 11 the callers of the __mlx5_bit_off macro warns > > on the cast of pointers to unsigned long which is a smaller int type in Windows. > > > > warning: cast to smaller integer type 'unsigned long' > > from 'u8 (*)[16]' [-Wpointer-to-int-cast] > > > > To resolve it the type is changed to uintptr_t to be compatible for both Linux > > and Windows. > > > > Fixes: 865a0c15672c ("net/mlx5: add Direct Verbs prepare function") > > Cc: stable@dpdk.org > > > > Signed-off-by: Tal Shnaiderman > Acked-by: Matan Azrad Applied to next-net-mlx, thanks.