From patchwork Sun Oct 8 09:17:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 115157 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp1384012qgn; Sun, 8 Oct 2017 02:18:15 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCtz7V4m4yIZ7W5946rIfAu1ldLR5I0DEjVD0ElewL2euHfD9pV9qvVFUsja8cJptpLF6Fc X-Received: by 10.80.177.104 with SMTP id l37mr10088438edd.9.1507454295508; Sun, 08 Oct 2017 02:18:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507454295; cv=none; d=google.com; s=arc-20160816; b=UipObnmZ6+4Ewpt2WPrcT6u2UG5J+LFwxtt2+aS/q9U68NOJJZfi2fir1VKKiExHz9 TvKlx/zcXfPcu3TSGJYmdVvPjptLThmMjSqK38YsaHJr12ufU2klmcnDSVqirNXJnaUN KI/SANU4w65xAn8AYHC8BC4vghmrQHyFAtUsUbr8d0GaClnUzlP8vvtTCqLd1JVHow4S IpT8U+NlQ3nZRG4RdAZoK4an5DWgDa0e4l/4CuCOgoZCVhoGoNDbnoId6VNT0lFEu/5y iQcCOBSfItPgGDCR0jPQrx88ok/d0v5at0uCkr0KtDcHheinTdyJ3tsvmRw5xDIB4OHL sLcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:mime-version :message-id:date:cc:to:from:arc-authentication-results; bh=4HpDxLhkqLRpxKHc+i1g7gTGJOEblBOiaqV4qC5Eu3I=; b=NGe4VNkG/xgNLN+aYKcjdbeqCYPU7ZRHKr5c/wpV614grefzz3YcY9TB9xc6unfZBW RvJLfXFdAIfWYTIcuONHkqEZVrLDopbQyxXgBwBXgOuBw/NbQ7ppusIDnuy8NjGy9+Ft S5MJ3Xew0JIVqWARKu2u93cA3kSDtVxcW62PQhPa7JUxKjf2qvgu6dMpk2uNz3/X/lUB CumieUrMtBN+CE8A3eGT0QBK+4CrfeglFZHajFlVHfIIdDgzIvRfImrcoTw8u4obGIPs uHJeZBal8YcUtUTi08ppq3wJJaETimeXGsCwGZTskPzlskrMgPdZK5b7uGYybBWxYyiu He8g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id b45si847972edd.144.2017.10.08.02.18.14; Sun, 08 Oct 2017 02:18:15 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9D96D199AE; Sun, 8 Oct 2017 11:18:13 +0200 (CEST) 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 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/XCs17K4ifivy3odSf0OnqZqWH3TEfXV6Df1d6n8M1vOeWh8WkztHseh0MJu6T6a7DN1MZOof2McWHaWrGckccb8I5ojQvjpJQHOM13600ZohdUh7IxqET12jg/byP87BKQol3ykXaqmSF4KfqILU+6U/VyX1EjuSqFc8iytmHy6nND9sq5gY5YIZq7myxfjW7vPlx2qZjeTKLOgfB3pLFz2lbHa5nF5uIUmYsCIaA1tJs=; 25:GJTL5ePrWwWwPpYBa9FKgb3EN758Qf2YYNEL3suv5mXc15MQ9ncglOTpAOEFGd4zMQWpaUH4DN/PA4uH5Gvj3eM8GsMPas0Zcj8nD8yWzw3ss3G9Da67RX8EZ8yT82rK+xqzXZKVN7ikVuqUYwl8KpYhpqodzF6Xe7NOiUjad7QuYi2v4o9D5Lh6GcHyGv/fHeTbBTs/qrMIf+2KLVo/fJG6PBFcW2UMYhQyntMYCTKwXYyR9u+PsEAYxAztrw/T+PfP+SAvknQI8pNypq50k84XHdll8tgmgvEIvOGdjEQmFqw2DLJdOjDAjO3gchX3VxVMO9WTVoer4vLtNTNrGg== X-MS-TrafficTypeDiagnostic: CO2PR03MB2359: X-Microsoft-Exchange-Diagnostics: 1; CO2PR03MB2359; 31:0Wcn6xEvYKz6PMoQHYgskSLR6nPUOnI3s08FTtnflK8FKUMecjGvOFnYTgdPvg6vTn69rk1BAi0eGd9DWUoZAx0R/pTVHBcg+Qd83mA1KPTxxBqEWDq1l3wcjUREES4Enyp5lHcdyYQKb8JyRE8Jn2r+DlE3MLrlp8omIHpXK5eDpuf5XGe4OkZyic9L9JmVjzAUMcS/52AyT85XJGxZML/TJyhKB37iCszdz+NpIPU=; 4:EHVTs+/c8fNi2dZGHmMJkopPdjzg+JwKX7RTv6qDsURNLkFauZ7dIVHZ0Ndl/+oqv/aoP8mMdQZXtHFBEOzfGZo0e44plNAInuLQJ1cAiAOKK7Ia9UATuXCv6TFWz/upsFFySe3m/HUu5XGk80F0If706ddakSvINgOvLmYvlSI5S27jqDyXusrm3O1vY39ou0cMGo524EfI7JQPUd9n7IOilMJxDYmH7SfCzXBujlWko1w7QpbxdYlYUxwcVB2Svz+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?q?1=3BCO2PR03MB2359=3B23=3Aq/6E?= =?utf-8?q?lvKnPdOm3iZngbyDc+OJYJsrwUj6QsHl5rm/NNF1gVQdYAHzRQsCvSZH?= =?utf-8?q?V8mFv0j5Ecczuwx0dGqNrBrtF/ExWevEsjey7QlGZmX7A5oQYCpJS3g1?= =?utf-8?q?5yfmtsPP2W1Iv6Rxly3LSKmnkW/zaMtUOf9kl6EM6gxNZQ9iV1jXvaBs?= =?utf-8?q?al+XFbJs4hZ5VxyMX4sRFVCq6+a2NFouxqBcA8JA5dEqRXHAhKJpcNbF?= =?utf-8?q?DFOfOBmf+noXSdaUkeU9pzfyZMVMEQtBmvKLDHBJS6JYfltbJ0WO80qo?= =?utf-8?q?/9WDkq+bpldiTJlnP8iaJP4Kro+0D+51Qa4I0SkpqBNsSUozGgzJdMX6?= =?utf-8?q?2VdYLpZsNxGm/dRLcH+bYP0T+5fUHwjJ+j78SmlYr44cTJZyxeBc+KmO?= =?utf-8?q?w5xS1RPKYf2DpHiKIlOVWhYa5U8VMNI9mkpmVcoeHTPXqoHO7fxC4gdN?= =?utf-8?q?sLiTEhuA+nnL9Dw7kpNMqKCEiYqwBsMLuV/YYx61cGp51SXHEnJ9wIqc?= =?utf-8?q?0k3BwgSCOGZv9Hy1J06WjFA1fSaGLVD3eypKYRxMPlmeDPyhjidYOWG9?= =?utf-8?q?cIl0wzU1ZEBkEeb42/umizlPtvos7G0i4x/zry3lTBj82ZM8zozucNVB?= =?utf-8?q?gWtrf26jkKotin4hagE110VwIPyuGJgb55+UvU7XSGfIfhfwb0yV0XMt?= =?utf-8?q?AYqWq7DUoYucHKSR0ZTeS2Jk3CzqGpP+i82J5ljV9rDvMizWpz1gX/Iw?= =?utf-8?q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yBpCy7pHdNe0BYudjNxzMgbsCaPDywaC6dYfK6OyMxccMsQwMI=; 7:oH/VbicQjI2i3/IZX+Pl0lfPzGGUFEi7JG51fi4eqagcQJZWS/MWhKwEPZt5Cx0OGw9MReLqx70uTtA6g5IwEeKEjdvqvF4lpioMU7JnUlVEb70P6rqq0b4EJ3MR3+VngESHZq8AhnUDGGKVKoO90QsyWpHSATBbpJvNdi9GcoZJ824XkDt6+xDmPalXDNN6QOSrcEPj592hQmxT/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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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(+) -- 2.7.4 Reviewed-by: Santosh Shukla Tested-by: Santosh Shukla 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