From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0076.outbound.protection.outlook.com [104.47.1.76]) by dpdk.org (Postfix) with ESMTP id 027B52583 for ; Mon, 28 May 2018 10:15:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=prL/09Yn7/LDO4TFceSGunwgygOUWO0N0kUQhYn/GCE=; b=HKvUuY0Q4g/GVmkqpW+ZNeeWmmcWAxHycxqIpyqrPzupAS9WH6lAEw0xWj3WTpSSdKdv73nXI3SKwJHoEeviJuf7bR1MpWMAI4BW9YYI3WieL9DqDbnsqe5aLh8IkC+wdFy1j3xJ0TNuvaj8P9d/JNWuIGyjgUEioR+U1iCpbiU= Received: from VI1PR08MB3167.eurprd08.prod.outlook.com (52.133.15.142) by VI1PR08MB1216.eurprd08.prod.outlook.com (10.166.198.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.797.11; Mon, 28 May 2018 08:15:11 +0000 Received: from VI1PR08MB3167.eurprd08.prod.outlook.com ([fe80::a105:3320:f324:a919]) by VI1PR08MB3167.eurprd08.prod.outlook.com ([fe80::a105:3320:f324:a919%13]) with mapi id 15.20.0797.015; Mon, 28 May 2018 08:15:11 +0000 From: Gavin Hu To: Andy Green , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 1/2] ring: fix declaration after code Thread-Index: AQHT9iu0ckV4BE1KoEeCg9JXEF0Jb6RExGew Date: Mon, 28 May 2018 08:15:11 +0000 Message-ID: References: <152747443129.35192.15673273827095899997.stgit@localhost.localdomain> <152747454575.35192.11685010940587705005.stgit@localhost.localdomain> In-Reply-To: <152747454575.35192.11685010940587705005.stgit@localhost.localdomain> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Gavin.Hu@arm.com; x-originating-ip: [113.29.88.7] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR08MB1216; 7:K6iEswRGaBFfJA85CBzbVcgYuV0d0ZNFH1YP9J5N00ZT1Ms6V2+TbadwQl4Y0B7EGKaxaICIxBl5K2hp/fVjVp3XNiWDqLfn20dlM81LotmagjMlAD/cG3HEyORUdjxEoG1OSygIoE3WefUQ9TaS47/2qFv8YDaNokUnlKcOEqs4dVr6rY4EFyJ/4ImSmbqOkES3K3B9XRveosnEK7KgEjYfVWYoHxjQ/jG+ETB5MTdGOYcm4gOhsNb4zUaQOmSq x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:VI1PR08MB1216; x-ms-traffictypediagnostic: VI1PR08MB1216: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(3231254)(944501410)(52105095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:VI1PR08MB1216; BCL:0; PCL:0; RULEID:; SRVR:VI1PR08MB1216; x-forefront-prvs: 06860EDC7B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39380400002)(366004)(376002)(346002)(39860400002)(396003)(189003)(13464003)(199004)(40434004)(2900100001)(53936002)(5660300001)(2501003)(6246003)(5250100002)(66066001)(5890100001)(86362001)(6116002)(9686003)(305945005)(229853002)(81156014)(74316002)(6436002)(3846002)(72206003)(478600001)(14454004)(55016002)(8936002)(55236004)(476003)(68736007)(97736004)(3660700001)(486006)(81166006)(446003)(6506007)(102836004)(8676002)(33656002)(26005)(2906002)(7736002)(316002)(11346002)(7696005)(53546011)(76176011)(110136005)(186003)(59450400001)(106356001)(25786009)(99286004)(105586002)(3280700002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB1216; H:VI1PR08MB3167.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: LuRwhzq2ufZfSduTncsf6Ranceth/A1cg+bA3KbouHRcspzAQ/MiD7SCCU6DwSFqXHerrmU0Pv/L1Fh+bjZu7h+FSwY2JkPreX412Tj8umEXasmqvBXWqW5X+rhwOqLPtWjUC0J/L6IFGUgD9siCCdBpNtIUKJ6KJ91Y9P4UVIk7wPkGl5eJl2BGEPMgNT34 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: a19b54fb-9ea8-42c2-4284-08d5c4732243 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: a19b54fb-9ea8-42c2-4284-08d5c4732243 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 May 2018 08:15:11.6972 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB1216 Subject: Re: [dpdk-dev] [PATCH 1/2] ring: fix declaration after code 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: , X-List-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