From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0079.outbound.protection.outlook.com [104.47.32.79]) by dpdk.org (Postfix) with ESMTP id AA041199A9 for ; Sun, 8 Oct 2017 11:18:11 +0200 (CEST) Received: from CY1PR03CA0031.namprd03.prod.outlook.com (10.174.128.41) by CO2PR03MB2359.namprd03.prod.outlook.com (10.166.93.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Sun, 8 Oct 2017 09:18:10 +0000 Received: from BN1AFFO11FD046.protection.gbl (2a01:111:f400:7c10::136) by CY1PR03CA0031.outlook.office365.com (2603:10b6:600::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.35.12 via Frontend Transport; Sun, 8 Oct 2017 09:18:10 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1AFFO11FD046.mail.protection.outlook.com (10.58.53.61) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.77.10 via Frontend Transport; Sun, 8 Oct 2017 09:18:09 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v989I5HR023480; Sun, 8 Oct 2017 02:18:06 -0700 From: Hemant Agrawal To: CC: Date: Sun, 8 Oct 2017 14:47:32 +0530 Message-ID: <1507454252-13770-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131519278898042387; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(376002)(39860400002)(346002)(39380400002)(2980300002)(1110001)(1109001)(339900001)(3190300001)(199003)(189002)(50466002)(4326008)(81166006)(2351001)(33646002)(189998001)(97736004)(6666003)(104016004)(50226002)(36756003)(68736007)(106466001)(69596002)(105606002)(356003)(5660300001)(498600001)(47776003)(5820100001)(316002)(77096006)(2906002)(81156014)(6916009)(53936002)(85426001)(8676002)(86362001)(305945005)(50986999)(23676002)(2870700001)(8936002); DIR:OUT; SFP:1101; SCL:1; SRVR:CO2PR03MB2359; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD046; 1:oVaMomwWQMTt5CQ05iJsR90DaQeltK9d+7ULymw7v0aCzTFhDBj6u2cv4fNWL9TcDJTpmekYQam9aPS89lxXC2SRhWqGLA9JcefeMFImGJaJL7dDbtVojhzqmgse4hVi X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9811fed8-568f-4ca7-5613-08d50e2d7e4c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017052603199)(201703131430075)(201703131517081); SRVR:CO2PR03MB2359; X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2359; 3:svIV9Y5m574AYJ0CnWrLAT75u9Wzlic041UkUNyLibA8ShhV4MRSHRW2AmO/vDJMyAd3BBpiwTBWiIIYaWow/HH+itNkKhhLaVcl4eAHWnXMT3v9KP2JADzc4Wjay/XCs17K4ifivy3odSf0OnqZqWH3TEfXV6Df1d6n8M1vOeWh8Wk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pbxdYlYUxwcVB2Svz+XxO2pWNy/y8VPAPZNKncFVgfKCXgkzG3Lc4qSgto= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(5005006)(8121501046)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6096035)(20161123563025)(20161123561025)(20161123559100)(20161123565025)(20161123556025)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CO2PR03MB2359; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CO2PR03MB2359; X-Forefront-PRVS: 0454444834 X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDTzJQUjAzTUIyMzU5OzIzOnEvNkVsdktuUGRPbTNpWm5nYnlEYytPSllK?= =?utf-8?B?c3J3VWo2UXNIbDVybS9OTkYxZ1ZRZFlBSHpSUXNDdlNaSFY4bUZ2MGo1RWNj?= =?utf-8?B?enV3eDBkR3FOckJydEYvRXhXZXZFc2pleTdRbEdabVg3QTVvUVlDcEpTM2cx?= =?utf-8?B?NXlmbXRzUFAyVzFJdjZSeGx5M0xTS21ua1cvemFNdFVPZjlrbDZFTTZneE5a?= =?utf-8?B?UTlpVjFqWHZhQnNhbCtYRmJKczRoWjVWeHlNWDRzUkZWQ3E2K2EyTkZvdXhx?= =?utf-8?B?QmNBOEpBNWRFcVJYSEFoS0pwY05iRkRGT2ZPQm1mK25vWFNkYVVrZVU5cHpm?= =?utf-8?B?eVpNVk1FUXRCbXZLTERIQkpTNkpZZmx0YkowV084MHFvLzlXRGtxK2JwbGRp?= =?utf-8?B?VEpsblA4aWFKUDRLcm8rMEQr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DmPalXDNN6QOSrcEPj592hQmxT/yvNXtaGheQYmBNhf8FrPff89wk= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Oct 2017 09:18:09.5702 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR03MB2359 Subject: [dpdk-dev] [PATCH] igb_uio: remove compilation warning on arm64 kernel 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: Sun, 08 Oct 2017 09:18:12 -0000 IGB_UIO compilation recently got enabled for ARM64 by default The igb_uio compilation against ARM64 based stock 4.x (e.g. 4.13) kernel is giving compilation warnings: igb_uio.c: In function ‘igbuio_pci_irqcontrol’: igb_uio.c:115:25: error: implicit declaration of function ‘irq_get_irq_dat ’ [-Werror=implicit-function-declaration] struct irq_data *irq = irq_get_irq_data(udev->info.irq); ^ igb_uio.c:115:25: error: initialization makes pointer from integer without a cast [-Werror=int-conversion] Fixes: d196343a258e ("igb_uio: use kernel functions for masking MSI-X") Cc: stable@dpdk.org Signed-off-by: Hemant Agrawal --- lib/librte_eal/linuxapp/igb_uio/igb_uio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c index a440924..da71e05 100644 --- a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c +++ b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include -- 2.7.4