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 930F4A0524 for ; Thu, 7 Jan 2021 13:59:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6B32D140F61; Thu, 7 Jan 2021 13:59:39 +0100 (CET) Received: from hqnvemgate26.nvidia.com (hqnvemgate26.nvidia.com [216.228.121.65]) by mails.dpdk.org (Postfix) with ESMTP id E5BEC140F4F; Thu, 7 Jan 2021 13:59:35 +0100 (CET) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Thu, 07 Jan 2021 04:59:35 -0800 Received: from HQMAIL111.nvidia.com (172.20.187.18) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 7 Jan 2021 12:59:34 +0000 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.49) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Thu, 7 Jan 2021 12:59:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H6hKkKx+o+IJnn0cbPgJ6rcjeVsdR8EL7mcqSFcVee/xR0mNEhU0EzijNhUJarxhajnzmj2nuCl9lF1pIrjXfF1HMK17WoTrgemQ2tuN77KKaAAC10oG9TOAs2yhl2rKJsyTVpMqNm5sea2SXK9NXYDdpxJlODnaCzRcneQH7tC2ani/MB3A23v+lz3ubhSl9CUK/5ZalsOgaZaf8Rk0F4Ezv8abzY/yVRhsN3E6cBaid1zdSOE84QguaZZZv2cJ8mPpxH2LX3OJPgc3kd4p2mVpLt/+25UEdZoUoJPBOZ2qjWifsV7tpQd1bPmfavyTzVuMDH3pyUTp0pCi8Z5zHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7tq0RepjoLi7TBIISzoqlCSwKLeKQ9ZHXdAFio90bvU=; b=KqX5Y5K/rJPM6rGvUic43k4DmUdLzDKopzOhbR2ZlTiyMh/26jb40J+SCqBvAb9eyp26wsIOOKmDg828vKdOqNg4TD0cKHwYRO94FXyS0foDj66znWYXsqe/fDNwrKbTt/+KQnHGuNf7Lae26B7qPH2dqZk9e6mRfI5w3to1/rF9+fJzkVTGoF8bBON4/tJW0CLhsgTksMwuhvNPoIM+08omODg6qXKWkJvzYMjA4H2Zj/9RV7armnDKrX+jSvuTq0DfTJ8+xiAPwhC7AAbHI2BaZUPiGaZtrjL4YW3PUySVTgJNHcjpm6A3ZUgJ04yy4dSRdhv0s+iPlEvQI9h5pQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from MW2PR12MB2492.namprd12.prod.outlook.com (2603:10b6:907:8::19) by MWHPR1201MB0112.namprd12.prod.outlook.com (2603:10b6:301:5a::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3742.6; Thu, 7 Jan 2021 12:59:33 +0000 Received: from MW2PR12MB2492.namprd12.prod.outlook.com ([fe80::680b:7b85:ef35:433b]) by MW2PR12MB2492.namprd12.prod.outlook.com ([fe80::680b:7b85:ef35:433b%6]) with mapi id 15.20.3721.024; Thu, 7 Jan 2021 12:59:32 +0000 From: Matan Azrad To: Tal Shnaiderman , "dev@dpdk.org" CC: NBU-Contact-Thomas Monjalon , Raslan Darawsheh , Ophir Munk , "stable@dpdk.org" Thread-Topic: [PATCH v2] mlx5: fix __mlx5_bit_off macro warning for Windows Thread-Index: AQHW5Oq9NUwgz2TDnUy5zN4+f6++RqocH+IQ Date: Thu, 7 Jan 2021 12:59:32 +0000 Message-ID: References: <20210106134221.12896-1-talshn@nvidia.com> <20210107114545.12124-1-talshn@nvidia.com> In-Reply-To: <20210107114545.12124-1-talshn@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [77.125.47.2] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: fef2a0fa-3be3-4c0d-8ad6-08d8b30c13f5 x-ms-traffictypediagnostic: MWHPR1201MB0112: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eDgoKVP6+NYhpzRxeODMcm6OpPQmDJSoPyJTv0G4r3rOyY3JfRr8tg9T6fJ8JKUHxQzNC64Om9T3sbuMC/B5x9mZWUo170M1kZr5vTJ0Fkv/g9ZCQ3zhPtrTLoCHtj+9ypjVGjehQz1+eHrmKeihcoazSRShwUTYqQDa1Jk8z9ZxurqqRbHiWmjWqLZtr55PuHYFOnsMXTa3wL5n8ZOTfARPzwdfE0G31eMXArORIk4SfF2kvdf6fdd2TDm4mrkrICmyHNYN2kOy/LYLMjaeEFRocv4me7W66wx688qpvMAwWe2cs8rUMUOAv0ViZdMGhPwejjJC3F5QO/S0HNNujf4UWrl76XWQT0B1g3iJ6ooWBPGwA3X+PCMTQq/io8K1AnJBOmQONiBXzm2B86rYjg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW2PR12MB2492.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(136003)(39860400002)(366004)(396003)(110136005)(186003)(6506007)(7696005)(8676002)(54906003)(4326008)(4744005)(71200400001)(5660300002)(2906002)(86362001)(26005)(316002)(478600001)(52536014)(55016002)(9686003)(33656002)(66446008)(76116006)(66476007)(66946007)(66556008)(64756008)(8936002)(83380400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?ba1F0SOx8tL2IwxjrxgpJyEaDAvg28yeq9hAeS2U0bYcp/+UmsY3uQv9kLxz?= =?us-ascii?Q?3BvRqyz8FISfddSXIFdefAQhceGOtvhtYJcfEeuwqGqTiwWPDPpjt8+v3YR2?= =?us-ascii?Q?BQ0RHyDYblUMO1uRenoN1hDl+C2snMLpZatK/GRAidA0ml5pxIQLJcWmYTGg?= =?us-ascii?Q?0SB7omMZA2azdom8+Cdae3AwAqLyqYQNvBkQFGMpLSf1mbA5kqFzGJUPNaiL?= =?us-ascii?Q?EVII4n2oQFuHvMqABw/2p2dSPCZWYwV+vLBpK3cxtSsOI8SQMLDpVHY83K3Y?= =?us-ascii?Q?iLAoHuf0SglW/1A6UXzyofCwfj8CLETBuliDiD+Jy6Tj+KEirzj/sSPo6A5R?= =?us-ascii?Q?wNa4vSuthU78Xs4p57N50xXGHN85Nz4CiKeg0kjHi+UNuoSgg1doMWglLuoT?= =?us-ascii?Q?sYca+mvmyY755MFwvEFBSQIBmDvQr4KlFvvWskBtl28TGiJ+OqOMQYmzeXJc?= =?us-ascii?Q?doAIzFgGmyH8tFpAdt/NWaTulFxxiIIXjjDZHHRm5q3RbKoLFcDSSR9SR5HM?= =?us-ascii?Q?6tmxJEbcf8GRkE5uu3dx7InMesaJXHIlLnz3gmvExuLVUE6HXSHvNFcJDoOx?= =?us-ascii?Q?vD/D+CYUEpzNT9wUP4kecvg9oEQ4YHZZuk+9EoEFPXLqgA7ZOBzM3JMcYvuA?= =?us-ascii?Q?oQncVDkzSsPj09vFK2QefB7WYBMzFvBA29IxzDGRLLSwm6AfHkCFhoFZZ2UT?= =?us-ascii?Q?sUUMZzK/en79LSP60ZKLHElLje3Gs85cMZLA7p/LDdpg1e7Uv9kRsKzxWvMf?= =?us-ascii?Q?IeotU9fwE190+IDliqSbdzFFXFwZkKRXvvF13BCe94SQ9gErY+H8hsH2FKrK?= =?us-ascii?Q?afRcCum6PTKCaBPhxSaobBAmRoMDgmONDR/v5lfyOQnnFC76zIrv/CPL2Gwc?= =?us-ascii?Q?/9udZCL2v8wB9Bt9R5RoBFW/jAEkd/kKNQq4Cq76SMIz477nzu3x8lGYYems?= =?us-ascii?Q?tOILCYiquoiQuOrb50CE9Xnbql9l3fF7CUkwFhriziw=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW2PR12MB2492.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fef2a0fa-3be3-4c0d-8ad6-08d8b30c13f5 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jan 2021 12:59:32.8103 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Aky26kqRvQAmIdow9EZf6ESzUd5AVBq/hddgot27JPXJUHDP1a6vdvf+3pxw6igYUzTWHRK/nac3i2buN5ye+Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR1201MB0112 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1610024375; bh=7tq0RepjoLi7TBIISzoqlCSwKLeKQ9ZHXdAFio90bvU=; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To: CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References: In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ld-processed: x-ms-exchange-transport-forked:x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers:x-ms-exchange-senderadcheck: x-microsoft-antispam:x-microsoft-antispam-message-info: x-forefront-antispam-report:x-ms-exchange-antispam-messagedata: Content-Type:Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=ArktpYvDkgDuX6FLSWZ80HcN9Tcr0WU3BrBAGQIiwbcKuSIDKxpDGYPwUEcmIFllE vqq899nWU0BO3Zkyjq0pGD5+cIGivDbKZJzhD2PT7a0UvTNn0SnnZ/AQKsMSJqLJi4 +Fl8XgHLBI9/S7xEDUL64rwP8Ve1CbyVF2XhyAn58MdKOGB4z5xv44QrNVp5EZuCjl I/EDsi+1SV6kH/PoWo3ayEVHzrle56JB3YhVukNX7Bl9vzgUtzF8V+Z0KzoYpv3UFd rmErj9D8lFWjGmRro3KxZPFNEuxsf6/Yc6wuUOOZqzJi4xEjN1qttEQgv67yPzGSSv z9kxfhmBQpsKQ== Subject: Re: [dpdk-stable] [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" From: Tal Shnaiderman > While compiling with clang 11 the callers of the __mlx5_bit_off macro war= ns > on the cast of pointers to unsigned long which is a smaller int type in W= indows. >=20 > warning: cast to smaller integer type 'unsigned long' > from 'u8 (*)[16]' [-Wpointer-to-int-cast] >=20 > To resolve it the type is changed to uintptr_t to be compatible for both = Linux > and Windows. >=20 > Fixes: 865a0c15672c ("net/mlx5: add Direct Verbs prepare function") > Cc: stable@dpdk.org >=20 > Signed-off-by: Tal Shnaiderman Acked-by: Matan Azrad