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 505ADA052A for ; Thu, 7 Jan 2021 12:41:04 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3AC8A140F51; Thu, 7 Jan 2021 12:41:04 +0100 (CET) Received: from hqnvemgate25.nvidia.com (hqnvemgate25.nvidia.com [216.228.121.64]) by mails.dpdk.org (Postfix) with ESMTP id DF315140F44; Thu, 7 Jan 2021 12:41:01 +0100 (CET) Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Thu, 07 Jan 2021 03:41:01 -0800 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 7 Jan 2021 11:41:00 +0000 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.169) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Thu, 7 Jan 2021 11:41:00 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QitIopZn5vLMkLr/s7XHGPckqrr2UkPZxG5g14rVqZyRMVdsmE+x82iQBDCmULwoLJvwKyF672ouh91/cSVytqBmuv32bWwWSqT0Q0NX+rt5mJ6LE040/gOoYdKa/c2p530ea8zAW4HTPy43D//v16BJliX0RpL5sABskhCGzrW6jdivwJ4gbm27CVup8q9ubw/pTRFT9t7aq03cSqXdByBZuf6yFRldfa8A1uhTYUIe7CmrTS9fepxRAN+IOegnW0VmXKKnjg867g8D7W0wI8GPS3Gzb2rnZKP+bdIKC1pC3wLu38OWu9oO+Aj8qW5p4DxasNTpTmlQ9c68Q6tYcA== 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=/NzGx5vxlyvbTzsGSvgjpaXTirX1HEKVJgXde2hyWlk=; b=YP6z/4UY8AkR/dlx/ZMwbEskl76Ud60XjyE7R9GR6W6AY5nJe1VqEVjx5WmSuZOFeZMTRvJOrdCsxB4ZRsnwbACfYNWQlvMVtfOOMvlpsvOZu9OtW9vnGuYl03zaHM3pJNaGoBIbIsOKKtoi+87dzx4dt4jCdmVG+49WXtyolSGvZzhfWuhkJc9/VVPpoi1oKvKR23fV1tvvGeb4Tja2ifHT22kD7UiWXVRGsvPZ2UmV+H5HlhDjiKPws6nMo+Ffx3g4+gOUfcFtp/nGpAbj/7v4HqnbtTCqBHfxJL9j7MXA4LNFmHPZIB53kKFNx6bUgUiL/tJhDZ6K+idFWEDBKw== 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 DM6PR12MB3945.namprd12.prod.outlook.com (2603:10b6:5:1c2::27) by DM5PR12MB1692.namprd12.prod.outlook.com (2603:10b6:4:5::14) 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 11:40:58 +0000 Received: from DM6PR12MB3945.namprd12.prod.outlook.com ([fe80::d1dc:9fb2:4724:53df]) by DM6PR12MB3945.namprd12.prod.outlook.com ([fe80::d1dc:9fb2:4724:53df%7]) with mapi id 15.20.3721.024; Thu, 7 Jan 2021 11:40:58 +0000 From: Tal Shnaiderman To: Dmitry Kozlyuk CC: "dev@dpdk.org" , NBU-Contact-Thomas Monjalon , Matan Azrad , Raslan Darawsheh , Ophir Munk , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] mlx5: fix __mlx5_bit_off macro warning for Windows Thread-Index: AQHW5DHakSHjiAU38UKdzCRxvY9wwaoapj0AgAFlLKA= Date: Thu, 7 Jan 2021 11:40:58 +0000 Message-ID: References: <20210106134221.12896-1-talshn@nvidia.com> <20210106172208.55adf9c9@sovereign> In-Reply-To: <20210106172208.55adf9c9@sovereign> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [77.137.141.17] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e8140bf3-93d5-46e3-0f8f-08d8b3011a26 x-ms-traffictypediagnostic: DM5PR12MB1692: 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:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xBU672MTvzr9j2DtVssT0iEV0ZY4ElU9dt8Ue6yXGGSTFBTUwXDI/4Hk5r+Zr6BuC5gUZAQAKrSSI1eR8jLsJMXt7LQ8TuXoPi+5hfp3C5F512DB1Aiz/9WCSve0AkvIs16MH8D2++eAqoBgZWq7rasyr945T5/SPkLDFXxgpRZOTKzUMBrudb09qKduRZ2lJU2qdSeHFgU/T/c4vREHox4DVvyZMX776Cvb1v73TCCqMw06TGsfFNJ4V2PWC3ND+Bh3g36LeKnQrx6LG0eIz7VnRFH+6wCllgTB3fhqbMf+rtejZEB1TLaWlXJHQZTeMIg6r3xuhBS2+0VMPaqxS+b9oukKATnmBlDcAKYVf6pARdDQ+h8nXpKYvkEGQ9/qK7W9N+dexdXUax+fKhqkOQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3945.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(136003)(366004)(376002)(346002)(396003)(5660300002)(4326008)(66446008)(8936002)(8676002)(64756008)(66556008)(66476007)(52536014)(66946007)(6916009)(76116006)(55016002)(9686003)(316002)(54906003)(26005)(186003)(478600001)(86362001)(4744005)(2906002)(33656002)(6506007)(83380400001)(71200400001)(7696005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?lEY1LeIN1LYhEhvYgnJW9M0LNn8e/TqjUZjv4uRdfXgHgh7N/lZ5SWo/p9gG?= =?us-ascii?Q?ie4t/wXbKXCi1ghDNlOUATLRHziaa0K9gl7GloJUmLztFFqhm70Yscgl0lCG?= =?us-ascii?Q?rLQG1MkyuKVpTtAPPsZGIQcNrs98iqjPgdaeXvasuKIdKEkB3hbO8lQwzcZy?= =?us-ascii?Q?CBsPKh563uGH9TzBQOztFHNM9RIb1/MdbbkA9qD0AfKIY37/BeOTk5jFEO0p?= =?us-ascii?Q?FSe30L9W8Jntycufs7oh8KD5y5PXkVlaYrAhjC0ae15REMB846zdiIlWU3It?= =?us-ascii?Q?j9ngS4x8mUUSP+L4JkWN6r+IxQMR/H1YoPWCHdAlDL6QDb1RnnfBVgmIukcT?= =?us-ascii?Q?grHSF+wRJm0BuinbGqhAZdO3hRUkyKSkKNYViU/30RJ4b5/NRqV6LN0jorVO?= =?us-ascii?Q?mKZvEe7HXuU1XuAftEFqITjtqcyiORuPiRmCy37UrX0H6gTyqLBJ+LB5k3SU?= =?us-ascii?Q?mUA3PJsiWkPKXnHi6zO4w0YycHdzR4oDH/Dybvgre95U62bUwA58XzPrT3w+?= =?us-ascii?Q?fu00fc9F7+QGm4Xq1/HS3Mtjd/Vnh9wk4PkhXLKP8gXqg/raSNMmavHGB5CO?= =?us-ascii?Q?uy6ms3juANsO13ysstFirw9NiNevfR/RTDJIk2Ct6UmdgtOHS7PPXgORr7Uf?= =?us-ascii?Q?+Bo7rPAioHKTX1NP59pOxOCrrxHtNlUVV5Op6MitCc3wFFT6UXpXn1L5zqZc?= =?us-ascii?Q?UPysoLVUhKpy9w1wQ6BlWy1E6VUG4X0nrwNcNSDPrQh2DLTwtqwZtShz6ypa?= =?us-ascii?Q?cd8V6oFyfd3w4s6gtXv7Te7DgISWh+NEdxQjY+K2/gguTGB9ZebNtAE5xsQ+?= =?us-ascii?Q?JFnZT2FBV4ZcB0s7uHuwZF18IctLHp0GsN9knaXDHf+Xz8MDp0ofDV50U8Pz?= =?us-ascii?Q?W1DDjQFDvsM9pDcKE6RNA6tSCxFvpH5PyhEOSPiNEHZ+v8Ch5lV8tNMn6lDa?= =?us-ascii?Q?s7TiqEmN2JIAelxm3A3tlo/CoUqsP4C8RLFZMG9fOGs=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: DM6PR12MB3945.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e8140bf3-93d5-46e3-0f8f-08d8b3011a26 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jan 2021 11:40:58.6457 (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: arthhT7EDITAr8L0njMSQmWWfKpTfC7JSiVXsJ8gRv724HCtQxxespuTWD049wjVMlQ7IEEjjXDnzI7khlojNw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1692 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1610019661; bh=/NzGx5vxlyvbTzsGSvgjpaXTirX1HEKVJgXde2hyWlk=; 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=gejtyq6suxDh0WjK/KCICpa1enWarMuC6tcC4Czv24ZXT00j5iHu+xlkNVNj7UPqY LpKK/zrJydDOu+HlDE1ubtAk1MjYx4Lf+Bj4Cnsp6zScoiVmN3IFd5VUapVhUuEBJb FoNA3UwBygxKe3DDua9aCe/51boAzDip2FtLnfd0QIG5Xr8V2z2K1shIJYN0pImuj5 qJBOn2uFPXmBnBjkaGWLgOId++f1Me7SboowaKUcH8fENPKeQMXidO2WURY/5LSMwO 9jpJN8MyAsP+7LghaD6HdwOsuqXv7p+gzdg3o/UkAf0QeM8gW61cYnQ1a0oy1PBP1F THJe36zejlh0A== 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" > Subject: Re: [dpdk-dev] [PATCH] mlx5: fix __mlx5_bit_off macro warning fo= r > Windows >=20 > External email: Use caution opening links or attachments >=20 >=20 > 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. >=20 > uintptr_t is the type for integers storing pointer values, not size_t. Correct, thanks.