From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 07E12A0471 for ; Tue, 18 Jun 2019 17:43:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ABF7D1BBD3; Tue, 18 Jun 2019 17:43:28 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id A41BF1B9BE for ; Tue, 18 Jun 2019 17:43:26 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jun 2019 08:43:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,389,1557212400"; d="scan'208";a="181417879" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga001.fm.intel.com with ESMTP; 18 Jun 2019 08:43:25 -0700 Received: from fmsmsx154.amr.corp.intel.com (10.18.116.70) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 18 Jun 2019 08:43:25 -0700 Received: from fmsmsx108.amr.corp.intel.com ([169.254.9.149]) by FMSMSX154.amr.corp.intel.com ([169.254.6.141]) with mapi id 14.03.0439.000; Tue, 18 Jun 2019 08:43:24 -0700 From: "Eads, Gage" To: Phil Yang , "dev@dpdk.org" CC: "nd@arm.com" , "honnappa.nagarahalli@arm.com" , "gavin.hu@arm.com" Thread-Topic: [PATCH v2] eal/stack: fix 'pointer-sign' warning Thread-Index: AQHVJOAh5bBm44dstEueBWfPJ9HZ3KahjiQA Date: Tue, 18 Jun 2019 15:43:24 +0000 Message-ID: <9184057F7FC11744A2107296B6B8EB1E68CFB92A@FMSMSX108.amr.corp.intel.com> References: <1560531283-5229-1-git-send-email-phil.yang@arm.com> <1560757290-22238-1-git-send-email-phil.yang@arm.com> In-Reply-To: <1560757290-22238-1-git-send-email-phil.yang@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTA5MWMxZTEtN2ZiYi00ZGE3LWE0MTYtYzA1OWQ3MDk4ZWI2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiS1wvM0ptVjYwczRvR2s1NnpBWVRzbmxxZU5JMDZKSXRtZ09tZkRBd1wvdThJWkFXc0N2a2RHeW1aNmw4N0VIaXFpIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [10.1.200.106] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] eal/stack: fix 'pointer-sign' warning X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > clang raise 'pointer-sign' warnings in __atomic_compare_exchange when > passing 'uint64_t *' to parameter of type 'int64_t *' converts between > pointers to integer types with different sign. >=20 > Fixes: 7e6e609939a8 ("stack: add C11 atomic implementation") >=20 > Suggested-by: Gage Eads > Signed-off-by: Phil Yang > Reviewed-by: Honnappa Nagarahalli > Reviewed-by: Gavin Hu Acked-By: Gage Eads Thanks, Gage