From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0044.outbound.protection.outlook.com [104.47.38.44]) by dpdk.org (Postfix) with ESMTP id 0362E4F9B; Mon, 4 Jun 2018 04:53:20 +0200 (CEST) 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:X-MS-Exchange-SenderADCheck; bh=xutWLLakkeVVhdIJfkMae4mfTBfJ7xolKzGfWguKJFQ=; b=AUW5WlRwfsVGWR4yTzEd0YONGsDjV0ME/E6zVb2QAs5a7GmskeojC99WHpP1zxJlVR4QBHSWcdfjdAqOs9c6yZeWaTWz/hwku8mxt/1oBahGcKzHebQfUn8L5MLOMhvgXkfHxBb8jtYDR0qS0nWcNbGdcxeUUtmCA+VO4KyeWxE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from localhost.localdomain (115.113.156.3) by BN3PR07MB2513.namprd07.prod.outlook.com (2a01:111:e400:7bbf::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.820.12; Mon, 4 Jun 2018 02:53:16 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: hemant.agrawal@nxp.com, thomas@monjalon.net, bruce.richardson@intel.com, Jerin Jacob , stable@dpdk.org Date: Mon, 4 Jun 2018 08:22:46 +0530 Message-Id: <20180604025246.25548-1-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [115.113.156.3] X-ClientProxiedBy: BMXPR01CA0029.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:c::15) To BN3PR07MB2513.namprd07.prod.outlook.com (2a01:111:e400:7bbf::10) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:BN3PR07MB2513; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 3:nPqKP+De3oO823HkYpPi+Gpr1sDPkimrGCY1SHuHBzDdKADj7u3Mwk0pbto79R5lSvvgUqeRUiQFD9XnP4/Bxlm0yvaJuTLk0nNij5xnUOZy9qRtxudi+/bQjpvLrgf6JXVZJZF/KAQDoqDoP2er26M8gCBAcyQ0APgtHgXaLpoCa9EFj8vvnmzNJXkLtbI0DQF3tZxxAP9nZskL6WEWlrc9e3hHrWaGfCrSG9090y6Kl5n1MNWqGIKnJsDdPVjM; 25:xbVcYoyZE5VZWmCoow7Le6GfhWz8GJdd/0j7lASB8aq3rnmwXMM9v6wQ7WOqCPlRw/gPTx6rthqWm0WqRVBpAMRCXvg/u6ysbQOA4w63nhwl/fboB1fJ3LrnjBGVCfyvTM/DlktKVTgZHgkIXgAt87E7f2PCCWdM8lZhLdzIxXs3spREklH6IUJYk/8UfYDyvIZROgLzG6Y86VUUxXA5XFVf5Xq6tGl920Nr0myhftLs0VZ/TcMEkVIn6HWR9QTG38gP/fAN9+F7dVPWUtGITtiRjFlkLKdiOctJkKOlceqZIPwQuUkEShB0e5CCHh0SqzUR+uXOu4Sb54dto1EZ6g==; 31:3dKjQIv7+JldZAheclTawb0XiyPzqYfSC9BVplFToRfRCckoDxg/E2FYY3+oohEZfNUGtHxAcqNkZnVSJtHO3SBER5s6Y8RAMMPiCY6UIAVYOGgF0pkrtoH0hA8B96CL5n9m2JQVp/7ZciWd+QSm4o6NVfljakwN0JkVI84cq4N1r7Ru3sNA0Bi0WDtUWgOkPZ3tjHr6QIT4YaAeBDoiJTekwq3Oiyrz7HcaFR7tl7s= X-MS-TrafficTypeDiagnostic: BN3PR07MB2513: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 20:FL9/EjCisnjLe91CT3skqge8ZLdG8s2pNQh+M16uNxzfECoBCTrEExgJaPOB/CLjvU4gwSoQOjNinM4Xdr8HGz+Owzwuz6dUealO5SPq2hcHKbBQYuRk2FltkDS7KUUb35/phnoX31HeSxQde7zc9EyNjnQK0XRubCB+l2R4wDRYjSTg6DeTzrfCcUUw/EtyCfF4H7P2P6PlrnDEzgnPzvB4hsiQrUCGhJ/1/r5nIpwOb5j1FDUFlkHCq0mVI4yX2OPy2CV6PR3DkDSdo5dDh609IaWjPf7mDAGdhAXf6D5neOtH5NvX7feASR6UvKMYwp0DTkgSOkk6a+73b1xQ+Oxn1ncCDpCqlwcOhcV2EbGNaGMTXO5NXmQIkJLOrXAUcWJMrPIpS8ouR4OrRJRmgQv1TcwRFDe5HBFLMSAK/yxMiSruyVReSPEUZVnE0yDA/ifQ/kC7YFrRF2iHs5vKOw3KKLad0Obwif0YMxPZ2rZLNM2rz8RoqdIZgbY/I3mw2aDpgXeIHI8lQFrz+p5+zbX+/Hw9JP0ox4fcpp8ClEG+d+ncPYz0fYm3yR1QHWMETDlzoWsesu7EL4xeEg1ZI1trZqejMTFRo+GFSD6Hlfw=; 4:7tnOBtEiIO6DEhBcNAekYDvzNQx1JhJZ7bbX//HhlRmc6uOFoLwJZUvAPtS3AmMm33dEHlJV/mbWRZM99X08OlWtzd7QeZWLByJke1MI+0FFikdVp6EQMK2trOaWnDgfcgdF4krVh5Z49eFs6k7mEYSuUSTNk/klGAuI2ch2WdYFUGi4UKT9FyR6QTDpcejx75Nd2u/iQRHEEI1o0aHLDtOpvFh5pKgE73Untb24P0aM4mH76sfn1/0jk6Fznyp/MutvnWFsgwwOQTg1YhbpQw== 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)(10201501046)(3002001)(93006095)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:BN3PR07MB2513; BCL:0; PCL:0; RULEID:; SRVR:BN3PR07MB2513; X-Forefront-PRVS: 069373DFB6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(396003)(346002)(376002)(366004)(39850400004)(39380400002)(199004)(189003)(16586007)(316002)(53936002)(8656006)(36756003)(6506007)(956004)(2616005)(476003)(55236004)(186003)(25786009)(386003)(16526019)(486006)(44832011)(5660300001)(6512007)(42882007)(1857600001)(26005)(6486002)(6916009)(6666003)(81156014)(81166006)(305945005)(68736007)(105586002)(106356001)(8936002)(2351001)(2361001)(8676002)(7736002)(72206003)(66066001)(51416003)(52116002)(2906002)(1076002)(50466002)(3846002)(6116002)(97736004)(50226002)(48376002)(47776003)(478600001)(4326008); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2513; H:localhost.localdomain; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR07MB2513; 23:HJdvlTFQC0RzePmsvMlzqrOjLBzZi6AXqgF/DmyS9?= =?us-ascii?Q?PpHIlwcGpeCIK6+vRvGOmoHgdPkU6orlJfldcvAJEsh558vTpMjugFYqYort?= =?us-ascii?Q?/tidnni0Gxqf6S3XfMlaPlfb7GsoNq30fpWkLXxMBEOJSij7w+aaulgD+V9C?= =?us-ascii?Q?NQ8CIqSiigvZYlMWdeDvwhyGBHa2C4HR5uUQHlmA95AKagPLMYWXPTCMZ5da?= =?us-ascii?Q?wUSZrpoSn+QKp3yCScPODucwTIjrcbUf6/doCtbQcy+cW+pXgao79kf4fN6B?= =?us-ascii?Q?wJz8emev7N35NVUTqfglv+woe9qta5hyq/hth3pmLw2ksJ4EhBj6PJkwNw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ucoQQfQr7qTkWjxO0xe3BvmE1fu+XvVE7ThJwWI58fOslI529xo1tLcOuSK28c194MhtKSDfQ4eR4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2513; 7:0NPhY7SEr8752TyMde8I7XUBL2NM55PelwHc9hjnj5tvpDTgWIwQSQ8FQeoNcfEbmKE3pCWj+D4XTHaWfDMX9zMgISON9+tyFA0qePpnemxkabJoToDp+aiJgIF1g5H0FHwkKNaMvtlZWoewYyNxcg3SUzMvl3I+9uOh234c/+iw9YgbZPlZ6LvZ1jTCV0qe9MUrHG4oWh65aF4frFvmRNnQ6ALVeOHh7QfUXilyYzHZhz+r/RRMxwsiyJGYx5vN X-MS-Office365-Filtering-Correlation-Id: 02781ad5-999b-4a40-a343-08d5c9c65374 X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2018 02:53:16.2665 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 02781ad5-999b-4a40-a343-08d5c9c65374 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2513 Subject: [dpdk-dev] [PATCH] bus/dpaa: fix compilation issue with meson build 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-Received-Date: Mon, 04 Jun 2018 02:53:21 -0000 ccache gcc -Idrivers/drivers@@tmp_rte_pmd_dpaa_sec@sta -Idrivers In file included from ../drivers/bus/dpaa/include/fsl_usd.h:11, from ../drivers/crypto/dpaa_sec/dpaa_sec.c:27: ../drivers/bus/dpaa/include/compat.h:53: error: "__packed" redefined [-Werror] #define __packed __rte_packed In file included from /usr/include/bsd/string.h:39, from ../lib/librte_eal/common/include/rte_string_fns.h:71, from ../drivers/crypto/dpaa_sec/dpaa_sec.c:25: /usr/include/bsd/sys/cdefs.h:120: note: this is the location of the previous definition # define __packed __attribute__((__packed__)) Cc: stable@dpdk.org Fixes: 39f373cf015a ("bus/dpaa: add compatibility and helper macros") Signed-off-by: Jerin Jacob --- drivers/bus/dpaa/include/compat.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/bus/dpaa/include/compat.h b/drivers/bus/dpaa/include/compat.h index e4b570214..0b49ed5e4 100644 --- a/drivers/bus/dpaa/include/compat.h +++ b/drivers/bus/dpaa/include/compat.h @@ -50,7 +50,9 @@ /* Required compiler attributes */ #define __maybe_unused __rte_unused #define __always_unused __rte_unused +#ifndef __packed #define __packed __rte_packed +#endif #define noinline __attribute__((noinline)) #define L1_CACHE_BYTES 64 -- 2.17.1