From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6CA46A0A01 for ; Wed, 6 Jan 2021 15:22:13 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64F3916098F; Wed, 6 Jan 2021 15:22:13 +0100 (CET) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) by mails.dpdk.org (Postfix) with ESMTP id 829CE160983; Wed, 6 Jan 2021 15:22:10 +0100 (CET) Received: by mail-lf1-f50.google.com with SMTP id 23so6813681lfg.10; Wed, 06 Jan 2021 06:22:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ACfxKhNVwfUT/1B6Bws34hVbUsI/jlBAmNy1ESTwOFE=; b=TgNkM5F8yDvNn5pmHK7ffwLXyANics0O0H/mfKbGHZ0rkszSxRfduMTWSehAf8c3sv WSBIH9LMXfaFGoDJb79mg9DXwtfqCCuRkHXUiBPVdPv2onqaTHCCYDv1uXuLaNwJqcAw p26xtV/kVYFTCaRnpjLHulWE6zAiAp6EoYah/RqSz8uo3Z2+Vk+3pOBUbQHSaHU2O/MW mCDd/7RH/GA89NjlbXnRb4+lhOMlP1nNdbmWAjqPT7Gc0fOXG0FaSR4jmQMbESmY0vpF 825t9r4SV0D1HuoXoSlUkQPfPkVTZ+BYcUHBdch1v+MdmdOEa98/nBTqAfGAMWs/788h TdKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ACfxKhNVwfUT/1B6Bws34hVbUsI/jlBAmNy1ESTwOFE=; b=TOEH+L2mAKXtUNUggfMduQdOpfc0HHIHWQyqQSFjTmLFUpHq/0Eth6dsIocGHXxn2f K7EZUKmrXx9TfrAl1keqbrl6oShRdVlAv8P20rXSub1zs8fduke7FN+OzL+ws5gbAyoh W4XtwGwKTsw4bO8IdXqwkHA71CJO+I2mHJx+AeTQ7G32AxULhYNzzgIqTAAkO9Owhd9v VViTV1EKMsq0OUdFOjQOq4AsfqTOLGYCTMQbokKZVmpeHRGkeTFoFKlFOP3Wv/ByjHI3 EZeYKdtteC5gPOyXlw8qfKMIQt4Oxh7mfo5D+ASIwEQUYpibyByoVb/clzXsPDN9XLix S2sw== X-Gm-Message-State: AOAM533DjVMl0/ivcS2pDS2zl31WBnhJa3bFYLTXw6gQLPnuwzt/+Dyq 41LT/lexkoRIqnZL9PVFXUE= X-Google-Smtp-Source: ABdhPJwOkVPU01jEDiNWkfVqDRAPBSmzyIjcasvKYRdZkxiAcjvzPuaNz37r3RoOV3cqG0LuhYOASA== X-Received: by 2002:ac2:5234:: with SMTP id i20mr1930076lfl.71.1609942930081; Wed, 06 Jan 2021 06:22:10 -0800 (PST) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id z9sm428866ljh.3.2021.01.06.06.22.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 06:22:09 -0800 (PST) Date: Wed, 6 Jan 2021 17:22:08 +0300 From: Dmitry Kozlyuk To: Tal Shnaiderman Cc: dev@dpdk.org, thomas@monjalon.net, matan@nvidia.com, rasland@nvidia.com, ophirmu@nvidia.com, stable@dpdk.org Message-ID: <20210106172208.55adf9c9@sovereign> In-Reply-To: <20210106134221.12896-1-talshn@nvidia.com> References: <20210106134221.12896-1-talshn@nvidia.com> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] 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" On Wed, 6 Jan 2021 15:42:21 +0200, Tal Shnaiderman wrote: > 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 size_t to be > compatible for both Linux and Windows. uintptr_t is the type for integers storing pointer values, not size_t.