From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0088.outbound.protection.outlook.com [104.47.36.88]) by dpdk.org (Postfix) with ESMTP id EAFED107A; Sun, 3 Dec 2017 12:11:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=D3+JmnG9G8HX5R9gHALY43/StJOqVA8ogqXORoPGLtU=; b=J1P23nd6Bx1sSUihmd0DVSQCm7SDiqeUb1hg83KSplDr3y16+EkARklYETlybq620gmAAyu7mTeV8ko5f7AcIgeEFvfj8F9nU0t0ji6L4YzgWzO/YUpF+5TkoK3omdGD9fMnteVm62y1FRF39EE+tT39mca85fQwSfWZui4Cbfg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (171.61.94.184) by BN3PR07MB2515.namprd07.prod.outlook.com (10.167.4.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.260.4; Sun, 3 Dec 2017 11:11:31 +0000 Date: Sun, 3 Dec 2017 16:41:16 +0530 From: Jerin Jacob To: Jia He Cc: dev@dpdk.org, bruce.richardson@intel.com, konstantin.ananyev@intel.com, olivier.matz@6wind.com, jianbo.liu@arm.com, hemant.agrawal@nxp.com, stable@dpdk.org, Jia He Message-ID: <20171203111115.GA602@jerin> References: <1510291392-33251-1-git-send-email-hejianet@gmail.com> <1511748024-7245-1-git-send-email-hejianet@gmail.com> <1511748024-7245-2-git-send-email-hejianet@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1511748024-7245-2-git-send-email-hejianet@gmail.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Originating-IP: [171.61.94.184] X-ClientProxiedBy: MA1PR01CA0099.INDPRD01.PROD.OUTLOOK.COM (10.174.56.143) To BN3PR07MB2515.namprd07.prod.outlook.com (10.167.4.140) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 65f4f132-b8bf-4b03-f2cb-08d53a3e9da2 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603286); SRVR:BN3PR07MB2515; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2515; 3:wwJFOVFO1VksAvjP3yhpBSH9TxZz7gX1gYziubwFuzJUhYnu07RNKJRXSP3blzsKpoLieQGVv67JxlF+Uy/9b0JPaxDqFY8MoUZ1RNqLLw4qp3AWtZin0X7qiWChbA0/YJMtugbpd284jF345N8A6jm6+p26PH6aOxr9lqNktLlTV8d5SLABINJ/U1FMlhH+tX8sWktzYvawp+G06AFV0yFbrdwljYFd8ScNxQDzddRED/7YJGoE22zT8AaWtOLf; 25:scTgCF5AdXGnPm99zxxnKn/L5nee2pdXlBxIK8daFBiCxUjopRHeGC0Rg4SJ21Pg+Egq0Aem5+qEfQ087/eThpcu3jTcbnGaayVRVyNB9oJUZTmv6HbGDVeAtws3S7lv0M+ZavrllKguAtiQbYbWic4gP85YRX0W4zIJlOsZnwBzFlubRnXWdn0UvV+x5fNK47WIcskmK2JyHp1423SVycNX/iq5OLIGy7ComQ77xF2Xxx52XbmqL6+aqKhpnU3psVRERfSES2H3iuv6Tr9C2SGFIKNfweG8aP/QzE4u3ALLy1W6iM+zgju8OnT/oXAdoFG/a1grGN/aJzs3X1cS1Q==; 31:/VVvoOLmFNNKOvBiOA7KQ2xSQyQj6onjubXC4EPK/jKbDxO4QhaI2kpGCuHKL6B8ecJJGcGF23Z1uqQxYDJrikCmNWkTZDxt1q7SBu/jmQmwXxg7ev4AFbpuJ1L0EJFAMGg0vlvOJyNwAlVjo//RIQmABYaKR10oDdGzK2fS5Zkd5ySj/+3KY5ywCcIevJPemppBZLLhVNj98nOLcCba/9lYhdOkGmW1S+jS8qVAnKY= X-MS-TrafficTypeDiagnostic: BN3PR07MB2515: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2515; 20:et4cmYKXEyiZxfTLnkjnT/6fozDq6VH2wD2WPOOYQQehRjEKKxPh7m6mBrCqzmBBFS85Lm7I8jjbNg6h534GZRL6SuGwNESv0qSsxvUpyol1ehtba7dHNKZEO+PMY9UhsBKwaEkYfc8vYinPkWy6IlZ9+1nOEGxfbe18cPegiHL3aNoIIdlse7nARNPbgRHF+yO/9wp8XgdnBnu6QPAj1pQPxSZxB8EgJH1qLjJk7+2XMYVre7Amhvru2mEc28LCGn5kaD8stQXxVTsp4i2IVccys+rQTwCEWeD3kpUuzy1F5XX3vcPxZf8d0y7nHPR3vP62ozTKSUQAHEfFFWiWctHzd+cMdoWHCcYXM2CkxMr0WC42XiffpHUP/HriMp5rmMgok6AYEZFDsMKCJP7ViSKudOSpsUJ5rgA28VXCQEwZlnJL7ir5ueJclyXKP8o9MBjo/PtlY6jW53rRmSa69qN1XAeBIfiuveGI0v4oRTODz0x5Vle4KG2nwQbGONkVohZBjhdKTI9aeCUnkwvJE90OZHw99ph6CAJw77EkJ1SJN3O9iQGhmlFk15AwyMcoTSoSoCeKPMJDiJiSadupUQgExz+L5AM0RJpTn7MdsZ4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(185117386973197)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(3231022)(93006095)(3002001)(10201501046)(6041248)(20161123555025)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(6072148)(201708071742011); SRVR:BN3PR07MB2515; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BN3PR07MB2515; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2515; 4:HqoyvUMhSx1QAuLLQv4GErz086Z+2lfty+4Lqu5hrwYDdP4oUrHtK1CrjGVwQpNjtno87cwX57vOUmKUe1o7cdjT+d1yC7TDfG0f7QW4mQ6005q5phQVjnJV691WclcLVeqcMsj7HUfNiRgrzPjymJQvk62Iiy9v6gcnKY7W+U9VRkIMqgxKAZyr3M//vAKqvmGuBkZaJ0YaJXhXqrx5PQu8QwT2FgGOWrEIHAVlOHQFZ73Q0KRV9uDTSiN36vs1M8G6VNNiWcPIksxdE96QAGezZUleIGy01sO3dLua6GIRd6w6QWNvIPkcYhuZlUqO1HXeXV7wyi0B8xIiJky22LWGlzwjDJinq3GFQxPerlKjfDE2MifBiVoKLUdATe+7 X-Forefront-PRVS: 05102978A2 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(366004)(13464003)(189002)(199003)(47776003)(6666003)(105586002)(7736002)(106356001)(4326008)(39060400002)(316002)(66066001)(25786009)(6116002)(229853002)(97736004)(1411001)(16586007)(3846002)(33656002)(50466002)(42882006)(2950100002)(6916009)(6496006)(33716001)(189998001)(58126008)(53936002)(9686003)(55016002)(6246003)(72206003)(8936002)(2906002)(83506002)(478600001)(101416001)(54356011)(81166006)(81156014)(76176011)(5660300001)(8656006)(305945005)(16526018)(1076002)(23726003)(52116002)(575784001)(68736007)(8676002)(18370500001)(125773002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2515; H:jerin; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR07MB2515; 23:pZhW03kt36xZZFbVP1M2R1My1cjjiYfyUxK6m+s1q?= =?us-ascii?Q?3YnZGIB3PXg38Og2FAeaF2gulLXaHdHSSMpLfXVUPDOJL2QWRgHRD5i88DBc?= =?us-ascii?Q?5ZLB7LRxugVaaKFPB7q6Is3TEdn98PVl8snjbdV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p6tZQSrRkiXy85Fyx3ILUxKmk+pWh4CarPqI=; 7:2o0HHuYjuyJzG1HuzZpkNdKkq6cF7s+tcbfMxf3KGXjgC2PtVWOWb9he23i6LQnGtbO5BAC4ktotH5ylbZors5tHoa+7VMqUaS2CPbYyMrLAPltzaFlTKFmM9Audrrhk0LdTeR18rdnL2IKsfWj1EFS/r+nX4ssNhIlZkfsEMQq35g71RMXy0E71gSKUeqmxM+lJQGwfHUMcqJ7lbGIreswsb++mlcniMBLzQMT/SBCQFvatfZ3lGqaSUZ7ttgf4 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2017 11:11:31.7066 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 65f4f132-b8bf-4b03-f2cb-08d53a3e9da2 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2515 Subject: Re: [dpdk-stable] [PATCH V6 1/3] eal/arm64: remove the braces {} for dmb() and dsb() X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Dec 2017 11:11:37 -0000 -----Original Message----- > Date: Sun, 26 Nov 2017 18:00:22 -0800 > From: Jia He > To: jerin.jacob@caviumnetworks.com, dev@dpdk.org, > bruce.richardson@intel.com, konstantin.ananyev@intel.com > Cc: olivier.matz@6wind.com, jianbo.liu@arm.com, hemant.agrawal@nxp.com, Jia > He , stable@dpdk.org, Jia He > Subject: [PATCH V6 1/3] eal/arm64: remove the braces {} for dmb() and dsb() > X-Mailer: git-send-email 2.7.4 > > for the code as follows: > if (condition) > rte_smp_rmb(); > else > rte_smp_wmb(); > Without this patch, compiler will report this error: > error: 'else' without a previous 'if' > > Fixes: 84733fd0d75e ("eal/arm: fix memory barrier definition") > Cc: stable@dpdk.org > Signed-off-by: Jia He Please fix the below checkpatch errors. Wrong tag: Suggested-by: Ananyev, Konstantin Wrong 'Fixes' reference: Fixes: 84733fd0d75e ("eal/arm: fix memory barrier definition") With above fix: Acked-by: Jerin Jacob