From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20082.outbound.protection.outlook.com [40.107.2.82]) by dpdk.org (Postfix) with ESMTP id 0D6C82BE5; Wed, 24 Jan 2018 15:12:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=oj1CXmrHIhle4QfF8EIe9scfH5Vf0/v6NSVJyWFTPZg=; b=FC3GXlFZ82svk6N6JLk4bMaLjTrR3WfF5U9JHWwGF5dUszU3O3U3bWin958jldd71AkJnrEUH9Boc7Gp5zFcSmqCfL7ll5DeZT/fHiNYx3WJW3vqT7XNnWccPIwlwGHhb99tYYmskpRyfnuB3tcage4ZjRV3jWJ0qU35s79gl2U= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ophirmu@mellanox.com; Received: from mellanox.com (37.142.13.130) by AM0PR0502MB3875.eurprd05.prod.outlook.com (2603:10a6:208:20::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Wed, 24 Jan 2018 14:12:21 +0000 From: Ophir Munk To: dev@dpdk.org, Matan Azrad Cc: Thomas Monjalon , Olga Shern , Adrien Mazarguil , Ophir Munk , stable@dpdk.org Date: Wed, 24 Jan 2018 14:12:13 +0000 Message-Id: <1516803133-17529-1-git-send-email-ophirmu@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1516792792-10119-1-git-send-email-ophirmu@mellanox.com> References: <1516792792-10119-1-git-send-email-ophirmu@mellanox.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [37.142.13.130] X-ClientProxiedBy: AM5PR0502CA0016.eurprd05.prod.outlook.com (2603:10a6:203:91::26) To AM0PR0502MB3875.eurprd05.prod.outlook.com (2603:10a6:208:20::17) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ce4a160f-48ac-449e-7686-08d563347c94 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(48565401081)(2017052603307)(7153060)(7193020); SRVR:AM0PR0502MB3875; X-Microsoft-Exchange-Diagnostics: 1; AM0PR0502MB3875; 3:OtbBWRr49HZbJXLx7EjWi3gSId7zxJSIDkBreJtjbjPYEqSHOI9h8ye2C/88hlvMUVrw2vdmOKRiqm7pQoMqKc0evtKfLfVVlBZrwvUAwLgdkW9yIKaBUZwr9i0fxy5iNeWKAmfu5zIWri+xbHXOXzuHrVcKHITkEa1Raqt1LgfVr89nu48UsnHWqPM3Y2XNp4oRDuroXN0fmtY/SvRG1jVeVwBOuCRQuFuv32y9EUpUeABtGj2HTZPcNT8E2bgE; 25:oNK7WibFRVwb6EWk/B7iQIf1W3P37kVuZPWHPElDdlPKwLL76VABO67dxp8/RZl047bKxh0m2a1LnQgl+D9iG+HsDs2rOgUIWeaADWYq2ozSwcUfXUtU0+hRO+lVyP4JOGznM3qk3rpQelm+wRP9Vh6WsbGAG4/N9YlrU3d3ToICrixJNQIFKJE7zRn8/IBGvxVzp9m1QhWdu69g14b+DZhZhFUgN/hQTfwZaw74Lb9yUBp6qo4WnQKx+lyVZsyhP+vA10j7utIN/qtwASIqDx+StBsmms7xgBF911+4SGxwtDluSKkKGNVfpcm/aQv5/o3Xp0SRFhsnOiZfBvovMA==; 31:hSHowGDgE2lYdSTRvARrZPi5dPGs4ZjGRa6EoxbApUK9HUjU7tnIToA455a3qbx+F4coJN5PneiuSGWnsoqcCKzWZICJPW8pHIHmc1Jj0SOybfRrsKyePOIwrl35Rx145+IjB9nqvK2bKaU3ZC3gjj0UZbj1e26wPolYTf7pXJVromuH2RZQIitvlo38zh1TxS1apm14l1Am+T5uAbUhVufEJLHHR1QIjRUgG0AEo6k= X-MS-TrafficTypeDiagnostic: AM0PR0502MB3875: X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; AM0PR0502MB3875; 20:shTptDO4Qdkooo9fZaKwEsEyN4VfP1duUciTJ4QKD/wf6nHU6KKqCKEmKEB5scemK4cyGzR8yrJPrdAYgg62u8FXDEiXnzC2mKTOtWDhGcHWO4lcD0BtxeYyPZpYv3QP8KaEH6ti82bjaZA2WAQREX/kyNtlPyYPLIXvGovTzakYd5/WJ0K3LMSdlNymkD8ugq5eu6VCzmhoa7clEXnaJX8ajpk30GQkhj2IK7dKsbvzhqn2e+k68vfaV87fcBht0AGZ+sNCjLi7ZE/9lRb75F7uFD9U91Rf5gCM32akauBkoa1sB8Cj+XJtMDxwwFCe5sHDboLC0mg3yEP2dThO50hI7E4326t0E5VQE5aPBr9flhB+rrI+b/2x+5Qg9qtoYTNHIgxAVJMoDgeyF1mbzLbd0qUPI7dC76Lrs53RJaCzN7bOEKC9PNeaf5M1cEtw6+jlbuGHxnwTRfautUxLAu6pC7nix9rsQVxpLJJZHlHV44uFarzozyvFoK6404SM; 4:vI/8TcdQv44EiKtgXV2HQnfvN05F7RxHHHStXrBQXPyjOKPC5sgsfwdpuvDby4kR56JQfOS7Ux3JkqKsYNNqLoad0awm2sQ7zhkZAxmXFdjwW36l4suPhbSuaP9oczoClbiTekEVNteATVLNoLSmCLPI6PQ7316uLQd4kh/L5M5spjch2QjmSmCC13yWIkwCJFI9A5L3fF8Dn+S6BpcWeKnDZbtHGeCRaiqmZa3Eqn/OHUHfZkEN9jdebxecl3dPkXB14sE4jceFNoVeKcGidw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(10201501046)(3231023)(2400081)(944501161)(3002001)(93006095)(93001095)(6055026)(6041288)(20161123558120)(20161123562045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011); SRVR:AM0PR0502MB3875; BCL:0; PCL:0; RULEID:; SRVR:AM0PR0502MB3875; X-Forefront-PRVS: 056297E276 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(376002)(39380400002)(39860400002)(366004)(396003)(199004)(189003)(5660300001)(305945005)(36756003)(59450400001)(69596002)(386003)(7736002)(6116002)(50226002)(53936002)(8676002)(81166006)(3846002)(81156014)(2950100002)(33026002)(55016002)(50466002)(106356001)(48376002)(8936002)(4720700003)(105586002)(6636002)(6666003)(68736007)(47776003)(66066001)(76176011)(51416003)(4326008)(7696005)(52116002)(6862004)(478600001)(16586007)(86362001)(316002)(37006003)(16526018)(54906003)(2906002)(26005)(97736004)(21086003)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3875; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM0PR0502MB3875; 23:AXvAkzWBGFLmkUPttRYHGnNSvpCNsXrCcaZMGCT?= =?us-ascii?Q?na0juruRED26DwystbHBZ5OOjerQsmYOenqfWUGfU8o9lpCQBgwibaHsEQUa?= =?us-ascii?Q?P5uiHv0nItTqMma/GWVQCowqSsFU9sRHYmz24E/86xsgntXrNGeVwCPvsgha?= =?us-ascii?Q?jiz3950YhNrHqAO5K+0q64nXdDAo2bUnUc1WzvlI+Rxu703kzT3ov1AoncQa?= =?us-ascii?Q?lzqHTRTzr3pccGE5SNuxHnGoWz2979Ncq8R37Ib531Gd7Ppi+3ScKn9BIUwc?= =?us-ascii?Q?ZChuN4bw8e8r9m4qUA7KL8/ljbFfVQiHaYZ8XKHkrnc+x4dH8HYm5Wx5SWgN?= =?us-ascii?Q?PAgjm79MWQy2Noxgelb/wI8/uBGdzqTP1VYtos8xaCHEosj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=3D?= X-Microsoft-Exchange-Diagnostics: 1; AM0PR0502MB3875; 6:NPjPoWbgq3WbTRirhPzz2rooSDtPXXXEtnsaNWS1sZzxqeqCieQraoaR84mxFva52tFEgtPrzQa1ngzgHePOhNViEt7Bh9yx4rMAhngzP6hexYZnEfvwrBJcdgCEC3RB2X23y24nOvqsHERLqr3aHYK8cAqUI1oAygt45JsAx2kuoWMUkfndPfBAoh5M70Ni7SXYElo5rVda6ubGL56yzAXt8kr0qTytO4sFYbP1aFhEIPc9gkstorbwmSil4UZW9R6ldJsCIfuo5+NZZYaR/t9LKyt24SfY01Ba3NEDM4NuBVDmyG+KMZ02cG6kNvla02v001I6TFWyW/rSbeDzEw64kAH2BGv7xOidKM8r/8Q=; 5:IL7e7Wm8MAsB/eyNflpu3ol9+kjCgnitzIsTIDCQqwHvxc6egmyO7Rv1Ct7uvWL90ncqRtWoqhxH5sI1bwQf6p4HRtXl/hCiHa9dpq0N+fPlWkOoCDuWFWA+u3OiHZL70m6to15HHeNLbxvRIVq4MAflzQtEs79wIjF8KNFII7M=; 24:sakmJj2M8yVpMlOKoZt/r+KrLnYcbPKAZNvvPSiVe1nl29TC5+NwqkASsHnTpCor4HQnUR1EEe7YPPhONf8NDFzR0ve5z+QTMnyGu84XzGY=; 7:bqTCcFTsfG2m8EizNiKXR/tK4hMej4A1ELd53sqguGpVcWMJq0NRtq95VaAFdsj5lHOOmYRH0NgkpJm4CIDk2WcqKPFanwTmAGaox5FIVlkgM5HPh5B/fEELx5dAG3NAQs2qMLzSDF288u+LwFJ4GiOitOx9H9VJ8r3yGODws2AwPk40SkWxQ9gGq6qaWtbnXIt6FP8BMQ9QFdh2LcIM5qjkQG6mEuunF6YAlcd2tyxJ+1/7gBKIDT0wKa5c3vgF SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jan 2018 14:12:21.1649 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ce4a160f-48ac-449e-7686-08d563347c94 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3875 Subject: [dpdk-dev] [PATCH v2] net/vdev_netvsc: fix build using C11 mode and pedantic 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: Wed, 24 Jan 2018 14:12:24 -0000 Remove CFLAGS -std=c11 and -pedantic in order to guarantee a successful vdev_netvsc compilation on old Linux distributions. Otherwise old GCC compilers may complain as follows: cc1: error: unrecognized command line option -std=c11 Fixes: 6086ab3bb3d2 ("net/vdev_netvsc: introduce Hyper-V platform driver") Cc: stable@dpdk.org Signed-off-by: Ophir Munk --- drivers/net/vdev_netvsc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/vdev_netvsc/Makefile b/drivers/net/vdev_netvsc/Makefile index f2b2ac5..45351b8 100644 --- a/drivers/net/vdev_netvsc/Makefile +++ b/drivers/net/vdev_netvsc/Makefile @@ -12,7 +12,7 @@ EXPORT_MAP := rte_pmd_vdev_netvsc_version.map # Additional compilation flags. CFLAGS += -O3 CFLAGS += -g -CFLAGS += -std=c11 -pedantic -Wall -Wextra +CFLAGS += -Wall -Wextra CFLAGS += -D_XOPEN_SOURCE=600 CFLAGS += -D_BSD_SOURCE CFLAGS += -D_DEFAULT_SOURCE -- 2.7.4