From patchwork Tue Jun 6 15:00:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ioana Ciocoi Radulescu X-Patchwork-Id: 9769047 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4791D6035D for ; Tue, 6 Jun 2017 15:01:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3851F284E5 for ; Tue, 6 Jun 2017 15:01:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 25EB4284BB; Tue, 6 Jun 2017 15:01:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E58B0284BB for ; Tue, 6 Jun 2017 15:01:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SNCkEWEMWzcvtYYTfsxvG5PxPvekg3cqr5ji/2z64XI=; b=FqrNpoEr0rRnnx HNRF3CBOJlDtmFt/ajnCeA4n7X6lof4ePAtXus3VXz5x2YTrRsdTzEqX6sCNBfX/qzpm7Vnvnwjr/ +d8DnO7BXP5qU8PbY9gPqeQOQJehYKbIfiTUo1zVYq+7mIJkFFzLt6AIM7pEacKyurPkDTrzO2qJD DJp2WhMJ+Brkt06tmzwH5E7inS5G2c1wzQ+o+s95BS9MWmTHGr1wIth6cW9cSlL0Sg01YjHIQFYCv 7fkH/eEwYIL8Un7bQQ3UujTiwPjnIiDge1jD4HxA3CTfXspvY/5zLhBlCx9K8jwaRH9HXXgrQmaaF tmkkguG6sGGR4gzbJYqw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dIFyp-0006Xe-1R; Tue, 06 Jun 2017 15:01:11 +0000 Received: from mail-sn1nam01on0045.outbound.protection.outlook.com ([104.47.32.45] helo=NAM01-SN1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dIFyk-0006Oi-KU for linux-arm-kernel@lists.infradead.org; Tue, 06 Jun 2017 15:01:08 +0000 Received: from MWHPR03CA0048.namprd03.prod.outlook.com (10.174.173.165) by CY1PR0301MB0907.namprd03.prod.outlook.com (10.160.165.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Tue, 6 Jun 2017 15:00:45 +0000 Received: from BN1AFFO11FD017.protection.gbl (2a01:111:f400:7c10::194) by MWHPR03CA0048.outlook.office365.com (2603:10b6:301:3b::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10 via Frontend Transport; Tue, 6 Jun 2017 15:00:44 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD017.mail.protection.outlook.com (10.58.52.77) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1101.12 via Frontend Transport; Tue, 6 Jun 2017 15:00:43 +0000 Received: from rhuath.am.freescale.net (rhuath.am.freescale.net [10.81.117.102]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v56F0fw6005035; Tue, 6 Jun 2017 08:00:43 -0700 From: Ioana Radulescu To: Subject: [PATCH 02/18] staging: fsl-dpaa2/eth: Initialize variable before use Date: Tue, 6 Jun 2017 10:00:25 -0500 Message-ID: <20170606150041.10955-3-ruxandra.radulescu@nxp.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170606150041.10955-1-ruxandra.radulescu@nxp.com> References: <20170606150041.10955-1-ruxandra.radulescu@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131412348440523308; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39400400002)(39850400002)(39380400002)(39410400002)(39860400002)(39840400002)(39450400003)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(105606002)(106466001)(5660300001)(39060400002)(305945005)(7416002)(81166006)(8936002)(8676002)(2906002)(50226002)(356003)(50466002)(6666003)(48376002)(36756003)(189998001)(1076002)(4326008)(5003940100001)(498600001)(50986999)(76176999)(110136004)(85426001)(104016004)(6916009)(2950100002)(77096006)(33646002)(47776003)(86362001)(2351001)(575784001)(38730400002)(53936002)(8656002)(54906002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0907; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD017; 1:MVzqOrGRfQWhLEHhOLJhD8swedo9EBW732p8RejbW0m8t8cB4s7Hjeuzz5Qbm3tpZaFnwFonXC73RbpYFQy8m7NUHYGcSJa0d72IUTOc8t4aF7aERzreXXj1iY8y/k6KUJhwWGNZx3Y6vtBN6KLh/HCKNLd61qDzxmB9DcG2aSj82zjP71yTDJYme6toPPapw6hO0j7+e3V7ma1p4mB4/A/3cyrMB5zFqmJ8WrtBCwb0GnjkPiRtegGuE1FHrig/yxyie2oZglTlRMbn9fD0F0+JO5rwuavXTcLvzJSawGczj4wJ2nykTtzaCEHFMr9nT7FoymzAqagRGC0ps27K3QOTu1R/d85X44iT/iRpke/2NpB3CyQgbBGOI5RMXK/I2Ld6AYExsGw0tiSAJ+a8PJRtTIyEPBqK0sXR49IRAMyOjYNk80XqnT5j5JX0hQwCDLK/sXp4Hovf57T49nA3ygE5+O6T37LBuloe0E6gjs9RQjSlStSY3jlwhu8jLJzfTRZu8vdYAYFsUYiyUGkTMoeLfJOmqOwTlxCEULezCZd9mcBB+SgMll0ibzeUFvOJPZKMmLh6H2+EPgdFPTLa/YHOJh5S9UVRyw4Ulm+2xZE/pcwFMOWyJ2MZegjfebT+V3r43pqY2Pl2sL6avrIHcDEwaACw7/qO9L+e8gWzXtYzXuUdTOFFetXjuIVYfY9W MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY1PR0301MB0907: X-MS-Office365-Filtering-Correlation-Id: d94d1999-bcec-43e3-50cd-08d4acecce5a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:CY1PR0301MB0907; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0907; 3:1KElCi8lUz+bO4rWZ1BmBtENHRJYcPjkWS+ce5QjoeK8rlJNW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hiD3dB9mP4c8Bbbuv42pVmB8FXmNCkv8YCWdlybbyDl6ufIKZHd76Cn20eKfldU6PODJemVkBOHyRKSjZdvBPnZBdbDNlIfv/WEOI+7Y80waeBzywHB3e2a5MUzakGQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(13016025)(8121501046)(5005006)(93006095)(93001095)(100000703101)(100105400095)(3002001)(10201501046)(6055026)(6096035)(20161123559100)(20161123556025)(20161123565025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123561025)(20161123563025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR0301MB0907; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR0301MB0907; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0907; 4:8Rar+HWM+McszjM0wxdRs4sSimYpzO1WDpFKo3va?= =?us-ascii?Q?sL8zGQ6F8g7T4bxNyRycLJJ4Wef9++i39y64bR8SqBF4ZPOEydikzPNHGSAx?= =?us-ascii?Q?rfNFjd48aqh6uczWK0ZOCsbekZFcfygoJo2FRH8OkqT8sp8s9wCtx8YHIo7V?= =?us-ascii?Q?HZJz8yMv8l/YGTihMyIV81lHCfFTf3auPYlECM0Ris0FwowHirL0aLlLbOd1?= =?us-ascii?Q?yh8SSwgMpvXnBk3JOB8AUWyeXWKcWJQGFoj9+4Ml4038dt3d4HpiOls/ureM?= =?us-ascii?Q?sVYmrS78WaXcPyWxpnvsaprlrvhzlMourm8uYU9P5t9hVBxj0MHmIS0vzYDD?= =?us-ascii?Q?8xwjf2JalDkVxDMLy0i19Jp0Tx9bUH+5pQg6NTMabSFB2nvHmcoarQv2GRx+?= =?us-ascii?Q?GIf5zsepWoD6eduvRE99k1GezxZMQUpjuzEFGGA77VpVmYCW8D7e/EzAyM7n?= =?us-ascii?Q?6597Pq+4m90DhLwetERLPLfjY3Gm+Hhr50PKbodH8wqWdlZE5HjcQ1k7MydN?= =?us-ascii?Q?RWAb+GnAzD1rZ9JOTGbjmjTmVsnNw5uV5v/BCHgBHrayDqzTV0p0yUTiZo4c?= =?us-ascii?Q?yRKoxM/u1V9nDBw0MLRxKitLMDfULpLKJdkj25LO9bMtprCssmdEk1JbkOLN?= =?us-ascii?Q?06v7e92GOWrF9Fjd9PebuQMth3P0CzKAfFxSGXgEhSS1iy81+PQ2cO6NPKPO?= =?us-ascii?Q?XTMQ4a46XnKS/M6li55JVZuORaLpXnpYZQBbkEJ6Eg36FN9w6vSn6eXUbJXS?= =?us-ascii?Q?MFTyQ2GOsJ+X9KYWLCbEmCfLTkyYjNQv+E643K0JsMYs2uTjea31mz44DPD9?= =?us-ascii?Q?MQ/n/518e/S+ciG2scbb8nLzozrKtFMoOdmS0QC7YwyK2E6Os+f1d98DXtF/?= =?us-ascii?Q?UGsd+XAakPkru8SusWUpthKjZ1I32M1g/xR+VzDoVNSUaYRFIQbHSHN7Zerg?= =?us-ascii?Q?ptB34REkpcft6d6oCrg9FPPcptgByl/ej3Ymba7BhPdnkUTAzPE5AgH40YKh?= =?us-ascii?Q?yul1hklKO9upRIRXKQXwoD1bpf44Goo35H/YowYlG7M415H7Za34w2nB4P31?= =?us-ascii?Q?yMibVXY8g1upIBPSWcMCXL/gTdTNE5i6+I3krH0/FVrNYjA0qkeZDfHYdiUa?= =?us-ascii?Q?tafz8lqkr6VSKJT5+2TH75RS87iN75nu8E+CqaBy2It9Z/+AtsQcD0OLPfZR?= =?us-ascii?Q?aiTg/3Zj/jLg4V/o3qUGSU9DYG74toVYB+aCijDat0riED07tTWgRlRmoOGF?= =?us-ascii?Q?hIrJJb7DAjMPw8fRe3byBPUddZK/rVvwg52ZMBpn?= X-Forefront-PRVS: 033054F29A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0907; 23:m+EMmwN1EvNVwsnIIOjYwg3GoxyRN+krD3+vBe0?= =?us-ascii?Q?Ollab3vM9icgc+xkrF09UWdj+1z9MdMFJy3F3me9T6Jf64aldaQZmqBYzgyg?= =?us-ascii?Q?Vwxy7s2PCLiLX1Keomwflvyj8CwfQM8a0V8BhF2dN/NnSgvz9eO7J0adMyeF?= =?us-ascii?Q?tdnswiqOEW218ns9eRETrbXCwcisVZ3iJTj6p8z0TAH3XC1/NYZrOnguEwB/?= =?us-ascii?Q?eof2xPaAkgCk80xen9q47Lhi3vFqy31EkXcGWn/F+8FU40ibOl+BvEKScePe?= =?us-ascii?Q?TBEdq3TSU6yN5tGHjpZJG4vfXN9uD/R0GoyDQbXyUKmq1DyAIOUhyBjnoSoM?= =?us-ascii?Q?ZuY1+zV/amcewaQSrMXK2bQAk8330rjE1ksRsU3pu1RjFxc6CTylxxknPmep?= =?us-ascii?Q?Qeb2LudKlMlEIxT3TsGGdrSFteVdFNYj+TZKcrdYEDqIY31Mq7CzE/IujhHx?= =?us-ascii?Q?Ioy/HXl5/q/bZZh3u3zE4c2/1MCeF30l/yrxtd79UiO9iqsMBSKq7QTarIPT?= =?us-ascii?Q?9yvUoHK0Vc9BSeqyDpeE0PX94cwUFNY3DU7IEbF8unsggfqS7s4K4CifaGji?= =?us-ascii?Q?81dsCfcHBizCXdE960lZ+uG4LYpcnRvEUmoaegpoU6itv28Ca6Ba1WO5U9hj?= =?us-ascii?Q?XF6XaDJo0k/3f3md8C/3TmzqDdUwtI17Mp64Y536R4BO5SUrha42lrsV2f0w?= =?us-ascii?Q?07AH1p8iJYJbi9fbx5ghS2+jqTJDkVjKSAT0cZ3gCAHbfiirqQeWylcOMepG?= =?us-ascii?Q?Bdr+EZxiegb5xceDUK6OdTNMGzmsf/wbzm+LRC57d/uB4jM7l8bzs1OVpg1U?= =?us-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XWw7XuopS+PKrUoGJySwZoCLk5yDm8k82/oho6xkdbgNhZ0wXNLAKU15A09g4NY71ZQIRMYR2wC9q7qDpLMXIAjmMRShxdgOgWmHGwZLRg+6NIK/PaxyJ0eZnjAeAAmG3TQ== X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0907; 5:TcaAMfqpuBj53hAn2fqyE1Pleyemkns9avbD07rCI+hlw4qSlss1K6CB1P8+fedOhVZqgfrkws1Jo6z1L4gkmthBd45kMHXZJSe0k8v1l99epkGbzR9p5vbaxrOswMGYesxq6Z88wRgFlbJsLE/lyF5ia3lrhpwtAOReZuN9us9puMz97fIK0YWRQv327rpIjQa8YM98yeIeRxQTBicv7hOHQmIOdJsI0VIJTcfg6DDPea13su+MvX4K9q6SEe+MkKGpGYa50Wu7L/qOycDQ2OyaNbqILm9v3wpRHfYYzRa7gbORQqI3Q1mxsRFXHR+9pMrZvZ0K+3rRua4KPjUkXAA2CwZGV3gYtlkpdJgf5Q5Dwem+QqxFK2SwZzyL5gHnu6g+ixuSbx95Ku6oOYKfB3bbZLWMwzXT68w4rbo/B/vph1ikRoCcZqqnp5D5DYaamwfqwVdIBqsFr6riBWRa0jeh37E1XfxsNbeXKTpsOrwtih7GtfPC5gOjybfJ/hvoKFp7Vnyt7AqAV2Deyg7lMw==; 24:LI9A7m0wFi/zQnXCX9194P9YYZqf2XA34HDFQEvlN1uNko2zn7finmamit4oL4M3kecaa5k+kLFZ/j/9G3XRBfcUY94T4GXgI/YRE24UHwc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0907; 7:wOl4ssmJFD7Ao1Zc1rbUDDmtjUOGcSYidgO+X7hM3EJE4rfvInnJjlGYbDWyGcFhiNTDMWdCHhp0FdnCeMoIKTAZRbWqvy73zDLGHheZkJMbf/uY9Tzf3Iq+O4bLRoeRrpfsc/bsbhtpdOuCWttTln71Rg9i8o8tusIIbVnrIZv9ANS+XpOi+xgWbXlSeAp6/5QYBXTD7OC2yg0CwjF89RsfjdGMB1APBAQRkwNsDvBmf0c0e2szWtpTwCL6nab8UL8nb5kvjHEcqM0BcqgnniTfKPxDrgmiWQH7l8SwTiuS11yWMjkDyfOC7nRHlXK/M7YDqGvVsM9g+BqR/COIhw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2017 15:00:43.8183 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0301MB0907 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170606_080106_777751_89DBB47D X-CRM114-Status: GOOD ( 10.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, stuyoder@gmail.com, arnd@arndb.de, linux-kernel@vger.kernel.org, agraf@suse.de, Bharat.Bhushan@nxp.com, bogdan.purcareata@nxp.com, linux-arm-kernel@lists.infradead.org, laurentiu.tudor@nxp.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP In dpni_get_irq_status(), status is both in and out parameter, so initialize before use. Issue found through static analysis tool. Signed-off-by: Ioana Radulescu --- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c index 8ff8951f31b9..f0ef3a7c0f73 100644 --- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c +++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c @@ -2252,7 +2252,7 @@ static irqreturn_t dpni_irq0_handler(int irq_num, void *arg) static irqreturn_t dpni_irq0_handler_thread(int irq_num, void *arg) { - u32 status, clear = 0; + u32 status = 0, clear = 0; struct device *dev = (struct device *)arg; struct fsl_mc_device *dpni_dev = to_fsl_mc_device(dev); struct net_device *net_dev = dev_get_drvdata(dev);