Message ID | 1538667328-9465-5-git-send-email-manish.narani@xilinx.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 61D9E1926 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 4 Oct 2018 15:40:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4F8B02931E for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 4 Oct 2018 15:40:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D141293AD; Thu, 4 Oct 2018 15:40:53 +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=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 2466F2931E for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 4 Oct 2018 15:40:52 +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=knKzNlKauoruN7XD2Yl9cFCvIY2vxxcEoF9GFl8Ih4A=; b=lNpteSwXosg23e CImvp1TNo+/xia6+ZGw0xPpibupMYEhHxGbe4pOO77rfqfhxrlO4O7ABXcpp+NzjKeZFT1GdRj+ra 77ic8FU/DUoj12HFi+h29rqlTILhQ//PGdfZW5MDLmKzZ3mwdz+7B0CbAH313PKcdWLL3dMu4R7MT CKjSvI+witamsPKD+XQA5XmQJ3HM7ONSO3uR3F/JHlWYFLwnUjBEGEAO1ZzkXM+nx2HN405mqVEJ7 wp+mfkFswCIBUzH32L0LHugTi0Z7sfTLMSb4oJr+dlE3MygQdCIftqpQfQ8NxNMU8m3C5niUNToa1 x4zrr5lkQ6XgNyjrsYmw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g85k0-0008MA-HQ; Thu, 04 Oct 2018 15:40:40 +0000 Received: from mail-co1nam03on0050.outbound.protection.outlook.com ([104.47.40.50] helo=NAM03-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g85fv-0005P3-0l for linux-arm-kernel@lists.infradead.org; Thu, 04 Oct 2018 15:36:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=d+pGG3FMw9mEJZCm1XTU+8qGnxatwFkfFx+NIqS6uIU=; b=pcq6w764PHC79Ls93htubxk8ubU/LwUxkn2AJVtyi4/7uSSw4RVb8s7QIsS5lqzZrUHf6jEezB4NTJMLsqG4PJAiWQxfxor+B1plgcuxkmlfEW7M8vuRUtRpcEmMzwgybHv0+PXUiLw/tHIhFS7l0e41jIomvpnOtpXrAHCgoK0= Received: from BN6PR02CA0025.namprd02.prod.outlook.com (10.173.146.139) by BN7PR02MB5108.namprd02.prod.outlook.com (20.176.26.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.25; Thu, 4 Oct 2018 15:36:12 +0000 Received: from BL2NAM02FT028.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e46::202) by BN6PR02CA0025.outlook.office365.com (2603:10b6:404:5f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1207.18 via Frontend Transport; Thu, 4 Oct 2018 15:36:12 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by BL2NAM02FT028.mail.protection.outlook.com (10.152.77.165) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1207.19 via Frontend Transport; Thu, 4 Oct 2018 15:36:12 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:55803 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from <manish.narani@xilinx.com>) id 1g85ff-0002YR-Gq; Thu, 04 Oct 2018 08:36:11 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from <manish.narani@xilinx.com>) id 1g85fa-0000EC-Bq; Thu, 04 Oct 2018 08:36:06 -0700 Received: from xsj-pvapsmtp01 (mailhost.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w94FZue3030950; Thu, 4 Oct 2018 08:35:57 -0700 Received: from [172.23.64.106] (helo=xhdvnc125.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from <mnarani@xilinx.com>) id 1g85fQ-00005M-Kr; Thu, 04 Oct 2018 08:35:56 -0700 Received: by xhdvnc125.xilinx.com (Postfix, from userid 16987) id D1ECD121465; Thu, 4 Oct 2018 21:05:55 +0530 (IST) From: Manish Narani <manish.narani@xilinx.com> To: <robh+dt@kernel.org>, <mark.rutland@arm.com>, <michal.simek@xilinx.com>, <bp@alien8.de>, <mchehab@kernel.org>, <manish.narani@xilinx.com>, <sudeep.holla@arm.com>, <amit.kucheria@linaro.org>, <leoyang.li@nxp.com> Subject: [PATCH v8 04/10] edac: synopsys: Make return type void for functions always returning 0 Date: Thu, 4 Oct 2018 21:05:22 +0530 Message-ID: <1538667328-9465-5-git-send-email-manish.narani@xilinx.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1538667328-9465-1-git-send-email-manish.narani@xilinx.com> References: <1538667328-9465-1-git-send-email-manish.narani@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.100; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(396003)(346002)(376002)(136003)(39860400002)(2980300002)(438002)(189003)(199004)(90966002)(81156014)(50466002)(106466001)(4326008)(5660300001)(16586007)(63266004)(110136005)(336012)(6266002)(316002)(103686004)(36386004)(6666003)(42186006)(76176011)(2906002)(126002)(47776003)(2616005)(51416003)(26005)(7416002)(476003)(305945005)(48376002)(486006)(44832011)(8936002)(72206003)(426003)(11346002)(356003)(186003)(8676002)(446003)(50226002)(478600001)(54906003)(2201001)(52956003)(36756003)(106002)(81166006)(107986001)(2101003)(5001870100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN7PR02MB5108; H:xsj-pvapsmtpgw02; FPR:; SPF:Pass; LANG:en; PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com; MX:1; A:1; X-Microsoft-Exchange-Diagnostics: 1; BL2NAM02FT028; 1:n6+iRLvS70orhqzyUu9hGH7RcmUBjOu3m2f5QeqJJwGzmCyweQBOpFlQOP4AMhhOvb09KW7o4b6YNcYDc3w2XO8MsfjstZBBmRiNq9M63bXvX30U9b6kvNOPFx7Fxzlq MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 159b65e6-5b78-44e1-d0b9-08d62a0f1d3a X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4608076)(2017052603328)(7153060); SRVR:BN7PR02MB5108; X-Microsoft-Exchange-Diagnostics: 1; BN7PR02MB5108; 3:S/IY9a+3LK+8VJ0+KrrnnySUErfts/SEpkKwILx0R7yMOuOk9EdHs0M2SFuMB/WXWEVJySHWPK5emSY55expEEVDapzMhGaaeKmMYV+R5pKIXBbEOqyQfU4OVkL8D5Tw/6jgkI0Az3q+V7LYGtjcSDzFVLwTS1gvd+ZOTKknSYgxlsXyzOjhuv+Z62l246IlT8063epTcqLLkI07EljORZChW3bDwq7ZajRLFupLQ98rWGhKvFIe+w8AsivBo+Ht8IqtIOrtPDZ840020JLJbFwT/XGbouSPC7AU/spKsvVV89/TOcDrsvVCNSIHb9mPSBLAv4qJBpsTfEIp+l/tIVfEgiVU8doL/OpQ0JdKD1Q=; 25:e3jmAbVTzAcnfXntigTNsNTSPjaJ4KdKPP1YvXcNdKPud2r9bDIkKa63TqDLWcIAXw+ewKOcrI1NBWaOerpflmhFciF0UnVDDCEQonosfUHg+bzWueC1iSZr2NM1bTG9cdKBhn+yxKfOUTyfzQCdqWPQDyBlkzOKtS+fX45bh/km1rgjmQJSuuYZ5J0hv9DRzg8m6kNJ/+q+q9RELFezC1LU36szA4m8U6HCPtLC9wtlo9gzKEXny6TAyBfoTGHY3wlCmGFbADXK3XTcSPL6DmUwMBE5+v5WwTNUqMC58yFe/kWnsLYcwpvMY+Touu1xI/XBfI0QP62VCoXvMs4jaA== X-MS-TrafficTypeDiagnostic: BN7PR02MB5108: X-Microsoft-Exchange-Diagnostics: 1; BN7PR02MB5108; 31:fPMft8dWWxIDraxQvuoSL0CUQ+FUOgiG44PvFlucpqMfCPqKrfwDXA6wuAYIyOriDFNHlZVdKs3FyMehqKPpNRFAqiLA5GGUhCrC2WUz/t+n+Lfdu+HLq7JcT/soGpiO8JyggMjLyWehjZIKXH7wZ4VNuHNCpRETDKi/NCaAVErYTTfpcqqgX1EqIHmoHjeHAL2jaeD8Mtq5+lp73jwV1GZfxjTU749A+lW/HlVB57I=; 20:o92MHZhgPbib4/LZjgp47V4dlqrSePRTn1Xhb22HmTZr67CCK0B2LpjElJJKQUtHvQH41ForJdR2IEvAvnoycGoQpkfF4iegy6YIvHaeLkNOQe4xX49CeUokL2Y6jwbBADITKbS+Yq6/DixyQCKnWv9PMoEXcDXelZWK6qgdcOSAMY6nigak7ogRr3asTdvfb+4/KTBHK/nzIKRf8kPjHqh9yaDh8SyQlbWwZAWj+OXid6gDr+V3S7DRu7xBZGx1sfjDyiSS7t3B3B7mrEZ8rv8GmaMyVX//7j/fCOADzwwvuHGV5w0QF6M3bekt1SM0vnpvQfQ/o9+acSGjtsYcFBYUybktYloqOnVNimFxgEmLVAdXYDewq6kscbqPHyHdcUqKQInepdXu0PxrYGp73LQOz749RvQ2ZwfsYTGhiMJTfLH6utZgSreQpHZFrnXWnAWihGVTE1FHuOvvjerkPzsBjW/wFVRL3Dw95TpHy26efDcgccs1JrFhpBUzT1Wk X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: <BN7PR02MB510811C8504EC61165117560C1EA0@BN7PR02MB5108.namprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231355)(944501410)(52105095)(93006095)(93004095)(6055026)(149066)(150057)(6041310)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(201708071742011)(7699051)(76991048); SRVR:BN7PR02MB5108; BCL:0; PCL:0; RULEID:; SRVR:BN7PR02MB5108; X-Microsoft-Exchange-Diagnostics: 1; BN7PR02MB5108; 4:8GGGOqpVGtgb+0zQVO8X+n7fW3RL7IHQMSrWLKJj26bu12fC2PxUQyjeH/4ARo8jooFBAhT/GZTV5p3uHmEMrsjfK6YbsyvwlEkYT8UNoG7fV/2lIrKGf4FRHiIsZe6GSgwVMiASA/ZnDTMr08kxvwe8B2/cHhAlBlfEjmYvbgeusRHmtBHlbWFwKzfnL3I/KSfuYN1i8IWfrNEns0yjZlvR/yJ1pEx9QyZ8IfBUkuMkXjvvQei6wM9noZzXiP4bAnhvD7mvztDiWduDIbOGeg8w8tA2HRyScy4haAD9BledE16NYzONyrjQA8l5ROnm X-Forefront-PRVS: 0815F8251E X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN7PR02MB5108; 23:QPmaOysEb6br4Rn88bSEjnl4EPFCHmeAQrijEf851?= Ofkm9hZUwjvnMQmjbYQMw9odwoeEEym1Pa2gaTzJb4XW9VIWTRghyrxI87b1Fzn5Qirbmgoco3MVHv/G/qqNI4zA2SMpZb6D9t5IyheZbA6GysavY+Zd2mrcaorLDgZf2Z6OfaQTanDFYIUHuX/JwGZziw7IS3ndk46rfwGt6ZBwpawVQyzxkPpmCHufscectPcrH8S2b/xltPBLkgcsyA7dEzdWHFphlfyQM3z6/HQIhDP+uY2zHsQalxbf8yhGv8f0c5PLGDR+3w+iNBUZ2zeKilZiBDW7gkZav+UhyhQaCDDf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4an6whk+k8dEpnzsVxTBSf2KTtE9hg7i5F3bSwLv4jXWtD0WBT7KhsV+UZsrUztQYoYbeK4s8sNez3di3T32fxMGvW SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Oct 2018 15:36:12.0898 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 159b65e6-5b78-44e1-d0b9-08d62a0f1d3a X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.100]; Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR02MB5108 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181004_083627_110122_903578AD X-CRM114-Status: GOOD ( 11.64 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-edac@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
EDAC: Enhancements to Synopsys EDAC driver
|
expand
|
diff --git a/drivers/edac/synopsys_edac.c b/drivers/edac/synopsys_edac.c index 7db5928..675155f 100644 --- a/drivers/edac/synopsys_edac.c +++ b/drivers/edac/synopsys_edac.c @@ -352,10 +352,8 @@ static enum mem_type edac_get_mtype(const void __iomem *base) * * Initializes the chip select rows associated with the EDAC memory * controller instance. - * - * Return: Unconditionally 0. */ -static int edac_init_csrows(struct mem_ctl_info *mci) +static void edac_init_csrows(struct mem_ctl_info *mci) { struct synps_edac_priv *priv = mci->pvt_info; struct csrow_info *csi; @@ -376,8 +374,6 @@ static int edac_init_csrows(struct mem_ctl_info *mci) dimm->dtype = edac_get_dtype(priv->baseaddr); } } - - return 0; } /** @@ -388,13 +384,10 @@ static int edac_init_csrows(struct mem_ctl_info *mci) * Performs initialization of the EDAC memory controller instance and * related driver-private data associated with the memory controller the * instance is bound to. - * - * Return: Always zero. */ -static int edac_mc_init(struct mem_ctl_info *mci, +static void edac_mc_init(struct mem_ctl_info *mci, struct platform_device *pdev) { - int status; struct synps_edac_priv *priv; mci->pdev = &pdev->dev; @@ -416,9 +409,7 @@ static int edac_mc_init(struct mem_ctl_info *mci, mci->edac_check = edac_check; mci->ctl_page_to_phys = NULL; - status = edac_init_csrows(mci); - - return status; + edac_init_csrows(mci); } /** @@ -466,12 +457,7 @@ static int synps_edac_mc_probe(struct platform_device *pdev) priv = mci->pvt_info; priv->baseaddr = baseaddr; - rc = edac_mc_init(mci, pdev); - if (rc) { - edac_printk(KERN_ERR, EDAC_MC, - "Failed to initialize instance\n"); - goto free_edac_mc; - } + edac_mc_init(mci, pdev); rc = edac_mc_add_mc(mci); if (rc) {
The current driver has functions which are always returning 0. Those functions can be modified to void. Signed-off-by: Manish Narani <manish.narani@xilinx.com> --- drivers/edac/synopsys_edac.c | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-)