Message ID | 1529574244-18997-10-git-send-email-hemant.agrawal@nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1847278lji; Thu, 21 Jun 2018 02:47:25 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIplrxB3EJN2Ct+62IbfDk5Y3f0UugDqDBZnTCU2KHyKVtV3OxjAvPQeuVEtZdcGorMh+Bj X-Received: by 2002:a1c:4252:: with SMTP id p79-v6mr4387240wma.119.1529574445113; Thu, 21 Jun 2018 02:47:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529574445; cv=none; d=google.com; s=arc-20160816; b=TLGyY3qW3egdPQQJiV7QdSM98v7d7ochIyDDD/zFwuRDE7UFGKk0XiLXiS1ljCoFxp sAUvR8x11pbMmlxPfeCS3mRRq72aB7yFezVQwlJ+vYQylwzW/bRw7l7cPXe1y7y5aM1s Kp6pdSX4/OOWKKosT5r+7nyiLx9o/7SfH0W1A91UdrS4qAk7sb04fvZYLAPstKTYTwse ELnhW+FHi0TLfEOPOwu1PIQuVQL0oLObFaC28UNSBUdHWlNsX2jfda4+HAaVrWdBRc3x E+U/yYEhzJ40nxBrCdayOSmmWEVXL7xyELBBSxU54mRK2JZKeK8DCGrJ21TDHrtnlN4P tJWA== 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:mime-version:references:in-reply-to:message-id :date:cc:to:from:dkim-signature:arc-authentication-results; bh=5ihYnQrMRraQQYHOBkvDo3prICPrk061VT+pWZzETp4=; b=J8fW/WUlcwKq8iCHx6sNdlXh1ZM1BuGeOdB+LTpNy/A40dC0lnjxRnW11VkLv8dlZe Vuv+WiWLumk7ebta6c3mmhlfDvoeQPLUeNjYGOMFDyvnEip/gkhVZbcodVLcglBzmdwN jUjhkoOS1saPTslnY2cCL5qjnWTXkKgE0jRGKmCrS5OPib1WYBJswwsxUJoWRzSHUa1U boKOMlMx1ZNaPN/pqVVVPPzb3fD21k9ETSDRSv91t+0N9tptmhP5T1Mc+AiB6denNSj5 4L1pAq2928uaYwyzynb5lkaqxgiXgK1F8/yPTN630ngS01Q27jO5t7eKDw4ShRSrPRB9 AAIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=IQ5cGAOB; 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: <dev-bounces@dpdk.org> Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id c2-v6si4275164wrr.201.2018.06.21.02.47.24; Thu, 21 Jun 2018 02:47:25 -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; dkim=fail header.i=@nxp.com header.s=selector1 header.b=IQ5cGAOB; 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 12E6B1BE0E; Thu, 21 Jun 2018 11:46:03 +0200 (CEST) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20053.outbound.protection.outlook.com [40.107.2.53]) by dpdk.org (Postfix) with ESMTP id 3D3601BDCD for <dev@dpdk.org>; Thu, 21 Jun 2018 11:45:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5ihYnQrMRraQQYHOBkvDo3prICPrk061VT+pWZzETp4=; b=IQ5cGAOBGqbJWqCQo+CrDVsBsnZtl3eSTo9zLjL8MnNcbRKwNk1rs0OsVs3eDmRquVz17wMJrjOgtAi5g+AONTLJFoATLH+7QJ8Wy+K6ewOtNb9NQu3jxfP7oZkv8jGORrlO77jnlRcxqGRaWeCF3aCSegYiyDcq84/ljb3zTfs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from bf-netperf1.ap.freescale.net (14.142.187.166) by AM2PR04MB0755.eurprd04.prod.outlook.com (2a01:111:e400:8411::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.16; Thu, 21 Jun 2018 09:45:51 +0000 From: Hemant Agrawal <hemant.agrawal@nxp.com> To: dev@dpdk.org Cc: ferruh.yigit@intel.com, Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> Date: Thu, 21 Jun 2018 15:14:04 +0530 Message-Id: <1529574244-18997-10-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1529574244-18997-1-git-send-email-hemant.agrawal@nxp.com> References: <1529574244-18997-1-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR0101CA0035.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1a::21) To AM2PR04MB0755.eurprd04.prod.outlook.com (2a01:111:e400:8411::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 88ff4e91-fa94-4907-c484-08d5d75bc724 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(711020)(48565401081)(2017052603328)(7153060)(7193020); SRVR:AM2PR04MB0755; X-Microsoft-Exchange-Diag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Ke6V2RRW7Rjx/v3spUTiDpDc+S4S3AIniO5fr9VJ1Y1/Q7lEdBgM3imMyaqAQLr4xtSl7GpKW22e15RyugIGxmcF47W1ikWrBBcQP4LDfMYRYVUIXqe8RULbIL7VmDg0upD+eNuUhrafxZklzoNirZJdOXIooGuo20NfoCSZmRHWh7ge7NN5WeRppC7bECXctnJXbkLTuZhjV+s6MFUvCAB18RwzD6NN+nHUmWqO373S2Qa0YRmfeSs7aMtOk+l0Jem35y0QJ1ppefC6/5nYqiQWCW/oMxiohJzwqjN0n8I/HsSPstfLcBFU5UuwFEDODVXFGOtJPBO14OOwrGAp7OOkyalecUDjc9Y7ka6JQnYNoFNcniM5Rf1SbQP7Wz2+; 4:ZBfY/tC/Rd8EgrFYsJQQz6eQi5Cg9Se0I5dZxcuyQyJjWS1akK1DKzsRGjdAvZ3xEbLpXDWTA+leTeHf0l8PrG8Ij3/3PF+abiIM3WnyFlEeKJqCGLjuVnb1ZG8CQRPnnbGa/5nfBike3NpR6fttQ3cUu+PHbj/BkIApFARzvbSDNYOhIrTVPgqi+sNfHzyVwdRQt0ZnLjC6B44y1Rr0tacIJ2BHc055nwUYYlsPoCChTPETLutEJoXZaqBjbLW5WEaPCvSjEV2YMfFPhfmJgwZIFVLGGOE60VuCovDi4nArwh76lJteDFEGwwWKz76e X-Microsoft-Antispam-PRVS: <AM2PR04MB0755028F231B07F79F10788C89760@AM2PR04MB0755.eurprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231254)(944501410)(52105095)(10201501046)(93006095)(93001095)(3002001)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:AM2PR04MB0755; BCL:0; PCL:0; RULEID:; SRVR:AM2PR04MB0755; X-Forefront-PRVS: 07106EF9B9 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(376002)(366004)(39860400002)(346002)(39380400002)(199004)(189003)(50466002)(6116002)(6506007)(55236004)(76176011)(2906002)(6512007)(478600001)(51416003)(48376002)(52116002)(3846002)(2361001)(186003)(26005)(16526019)(956004)(11346002)(97736004)(2351001)(5009440100003)(386003)(446003)(4326008)(8936002)(8676002)(476003)(486006)(7736002)(81156014)(81166006)(305945005)(16586007)(575784001)(6916009)(6486002)(105586002)(106356001)(2616005)(47776003)(53936002)(36756003)(50226002)(44832011)(86362001)(68736007)(25786009)(5660300001)(316002)(6666003)(66066001)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR04MB0755; H:bf-netperf1.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM2PR04MB0755; 23:F1FO8dRuk0CZKH98AS+uHhsNwA8f6as48CaVpuRkK?= kAUEi+qKXpm3C6gX0RuTrdw+//jcIKxbofAYdu6egj9wuYmAzum1EAShjmdVGdhThVS8nzKu/oVwkJ2Bf1t/jx232YiRx7N1TwWmEnzhNOPvXFOBeMqJ/paskdwt4RbhlzXzsAiM22ndh5yLUaii/Fg/AhTdq1fpK8wKt84eeXnfX0bcbckejSTIX9c2koH3koJ9wAqnwOkPOu2hwib7p9vY7rkEpNVu7bK4q3OS0hJz6YFHlwPnTziFgCi1WP4HqlI/GfkOClP096WbNkwnVP9Jaxks+EFHM6E83T80GMEgocFE66scDYOyENuqcSj70omStKN+pkchl7+TAmUmPcLQOr58pLLufqhi2HoVjRI3KUd5i2+hJSz3JfKmVnJUBk3mh501O0hnLsZHUGygjWMsPBYGvG4rzQiXsgiDNMzPF2QGsh2q2AZ5nookwxweON/Egu/Wf2BNR1FoprAym77uw5v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xAMJm0bLrSwNagPoORDRkAZXQ6SSxvDjtIkG88biFHq0olJPbUKHzaWexGnab+zeT5NVYDrEdvhF3ZnUBap+X+r0cR3ATvFCwv3V5Yg9iz5FA== X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0755; 6:/77VtohuAjqq+UyLDOP1npUC9K0KiRIuIugqt+JufOdxogwP5G1YlmUJyfvEXffYo3xozZrYLTGXQ3DNGgGpMwnbSjVZ5UiH0+CKUe41NPT7xXWH2guTCvE5ez4V6VFN3qq1P9BNpiouXtOJ21DEmtjV++17A4K6gqsSv3iPGFCl1JgqqRyK5dgvIUgJx2nhN+1Jnz75mDRiAv7yw0ADK4yvhphLYMeiWcQL3OyDNdQbg0E64QJWxNCpaoeZaCPQDDaW3I9SGoFtkAXxsGscwXulMSPEyzGi7PwJb/qumNaRR9d62LgIwUdwqnlOtPobeBlPeg0BtH2q8vkbITM02vZJkzJ96y8daW5louzHIju4NCmjawcQSLIv1/PRxYp2HDX7wLfhuZfAuNDV5FUI6j3u2CWi51DraNk7Qq4uyvTRqJ8DlbrYx5f+6NlqLiT9aA6nav3ecudVoOGejbw2TQ==; 5:VULUKqyWmlT86/x/SgsNJ7EgUoOsEdLG6FCbLSHatYLMQUs6ZQ1GeycIiicn6Qq/Q/rSwb/bJcMGUL9e3rT1ktxnUg6Yfatq0cTwkkq8Wj68zgT02rfyMwLPq4jpTuk7M0qoUSNBJfSsarjZu96uRtJ41pB1KEITCY0DL4D3pVI=; 24:Vyol+05OEfRycxOC6EuJQAXghSMSanMEG8+i040WR4z0AkKh6pSaVDbElpcqjujJrVLQdjangeqm8Z+xV1AoN9c5zeAuq1sFTP4wP2Wu7yw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0755; 7:w0FpGpXdweb7xO7DbrnNLFNa/VYg7u6D06umhNCqUCX0bLxUeqppZLyBHSoohd1DXw2vFNAzLti4F0g8eQ7qTApvTjZ3YF4O+wNoyIROsV/iJYhzTSgXm/X3qWuzX7ug7v1oQw7zkqgu469FbSVx4XjnDlMrv00vA9Thg1CN8VLNYGkTVSbEoCc2LdvFpnPYNLdokWZGZGXpg2/2DSLBtCradQ2HVXqv3uKB2jPMm1Wq0k5+NKp8megfsmr83TLh X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2018 09:45:51.7197 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 88ff4e91-fa94-4907-c484-08d5d75bc724 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB0755 Subject: [dpdk-dev] [PATCH 10/10] bus/fslmc: cleanup unnecessary global variables X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Series |
[01/10] bus/dpaa: fix phandle support for kernel 4.16
|
expand
|
diff --git a/drivers/bus/fslmc/qbman/qbman_portal.c b/drivers/bus/fslmc/qbman/qbman_portal.c index 713ec96..0714500 100644 --- a/drivers/bus/fslmc/qbman/qbman_portal.c +++ b/drivers/bus/fslmc/qbman/qbman_portal.c @@ -122,8 +122,7 @@ struct qbman_swp *qbman_swp_init(const struct qbman_swp_desc *d) p->vdq.valid_bit = QB_VALID_BIT; p->dqrr.next_idx = 0; p->dqrr.valid_bit = QB_VALID_BIT; - qman_version = p->desc.qman_version; - if ((qman_version & 0xFFFF0000) < QMAN_REV_4100) { + if ((p->desc.qman_version & 0xFFFF0000) < QMAN_REV_4100) { p->dqrr.dqrr_size = 4; p->dqrr.reset_bug = 1; } else { diff --git a/drivers/bus/fslmc/qbman/qbman_portal.h b/drivers/bus/fslmc/qbman/qbman_portal.h index 8bff0b4..dbea22a 100644 --- a/drivers/bus/fslmc/qbman/qbman_portal.h +++ b/drivers/bus/fslmc/qbman/qbman_portal.h @@ -7,7 +7,6 @@ #include "qbman_sys.h" #include <fsl_qbman_portal.h> -uint32_t qman_version; #define QMAN_REV_4000 0x04000000 #define QMAN_REV_4100 0x04010000 #define QMAN_REV_4101 0x04010001