Received: by 10.223.176.46 with SMTP id f43csp501238wra; Fri, 19 Jan 2018 22:36:55 -0800 (PST) X-Google-Smtp-Source: AH8x227sCD9ZI6QnxtVeSNcSR0yqAsZ72OLSEnzFsiM4KdW5KoDtPoxYCQRukyVfMAiRvtGOD28K X-Received: by 2002:a17:902:7d8b:: with SMTP id a11-v6mr499967plm.216.1516430215694; Fri, 19 Jan 2018 22:36:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516430215; cv=none; d=google.com; s=arc-20160816; b=pwlaZq7dVab9E3New/OXJOyIcMQ2Zphc9TUUS/bf/quhR3NhuMxpHseNBpD0dKLAIv p9tNcAr2RiOtvZd4J5ASLCA0+/YNHfBgjHwLhRGuUzO+Nl91uHVw3YChBD6rHGkKaCVD mCeHTJt4my9/w+zt+6jcM9tq232nllzRRBfua4x/sbn72MLOizbMArkuZgS50Y8n4YqO rtad5cn5fbTacpHJW3Vvu8Ny2NTfdkMaAIJpJYNG9v+p/d0VFEPMcEMoX4DUinw7K1ID gkEPdNCKBzDvgOKtglSrT10Ce78H8LOcTpcVtSt521lEpJzOmOEfSvJopzAGnafmVnqD tfSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=ykhy3mvVDM9RFEbwlQrpBIplEDODMXbNxATX4zvCeIw=; b=oWZ+4Rz5tNBjXRnAFlxTDpkIlpoZbIptbChCXEtShSRlPpeS8pmYCR24Shue0BusN0 E+vFS8vzFIiiIb4rLM/DXkGnCA/gNlAStOiFXQBvpdICvViRBbogBSha5V7ZrRBl58MJ JWG4lmfpXPGUKxhVUWwgFPuKyck2dJItFDkB4dhIPQYTgDryFMlhux+/6CAtTtRLiRls R8yWDeptF1e+nDWP3JMyKR/IlsBrlHk0s3/FsRm/wzFKCyp9jlynMkKoiRi/wPxV3z2/ 67w239IEmxwvjkVvzEJFwKw/LZvQJFZN/tgOT2hbbfTkQYRDKX9hLyyVpbBWqd2hdwfs GpzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=CjDiMP07; dkim=pass header.i=@codeaurora.org header.s=default header.b=IfHREBDM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z9si10870096pfk.333.2018.01.19.22.36.37; Fri, 19 Jan 2018 22:36:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=CjDiMP07; dkim=pass header.i=@codeaurora.org header.s=default header.b=IfHREBDM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754653AbeATGfw (ORCPT + 99 others); Sat, 20 Jan 2018 01:35:52 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:45090 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751251AbeATGfe (ORCPT ); Sat, 20 Jan 2018 01:35:34 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 7972D60A54; Sat, 20 Jan 2018 06:35:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1516430134; bh=0jhQUaRLU6pXyz4P/+BoVfnBZa0Ipc/xgz9fD++MU3s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CjDiMP07nO8dURhH7fA1srqF2oOMQEA4aDdlCrhDZ3vRfsGrRxUla5UWa27H5kA7b 0O4RfZRI5sCii6L7EnAZi8MMCpqpcWiH1wDQtLNS2mL+nyusodZBknlspI+vk7ilbr pTaQk4wC5vH+f7+0BsZe5sWQ87RZVC8oPU8cSQd4= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from blr-ubuntu-poza.qualcomm.com (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: poza@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 33E0660818; Sat, 20 Jan 2018 06:35:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1516430133; bh=0jhQUaRLU6pXyz4P/+BoVfnBZa0Ipc/xgz9fD++MU3s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IfHREBDML4W042xxD8EiNg/d2LoYRxr1e8+pydIWETCONWavZuwwd0IsjRBV6AXFF IrMlqy9RRLZjPab20i8b1b+lvf3lOxh+PpAaQSbRQk5rQzrmHz+ymDi+WW881rcHvt pTszmsB/njBR8bEtJ4QKFcAzV9z8XNjkSn5ajif0= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 33E0660818 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=poza@codeaurora.org From: Oza Pawandeep To: Bjorn Helgaas , Philippe Ombredanne , Thomas Gleixner , Greg Kroah-Hartman , Kate Stewart , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Dongdong Liu , Keith Busch , Wei Zhang , Sinan Kaya , Timur Tabi Cc: Oza Pawandeep Subject: [PATCH v7 1/7] PCI/AER: Rename error recovery to generic pci naming Date: Sat, 20 Jan 2018 12:05:13 +0530 Message-Id: <1516430119-3825-2-git-send-email-poza@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1516430119-3825-1-git-send-email-poza@codeaurora.org> References: <1516430119-3825-1-git-send-email-poza@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch renames error recovery to generic name with pci prefix Signed-off-by: Oza Pawandeep diff --git a/drivers/pci/pcie/aer/aerdrv_core.c b/drivers/pci/pcie/aer/aerdrv_core.c index 7448052..6cb1b36 100644 --- a/drivers/pci/pcie/aer/aerdrv_core.c +++ b/drivers/pci/pcie/aer/aerdrv_core.c @@ -482,7 +482,7 @@ static pci_ers_result_t reset_link(struct pci_dev *dev) } /** - * do_recovery - handle nonfatal/fatal error recovery process + * pci_do_recovery - handle nonfatal/fatal error recovery process * @dev: pointer to a pci_dev data structure of agent detecting an error * @severity: error severity type * @@ -490,7 +490,7 @@ static pci_ers_result_t reset_link(struct pci_dev *dev) * error detected message to all downstream drivers within a hierarchy in * question and return the returned code. */ -static void do_recovery(struct pci_dev *dev, int severity) +static void pci_do_recovery(struct pci_dev *dev, int severity) { pci_ers_result_t status, result = PCI_ERS_RESULT_RECOVERED; enum pci_channel_state state; @@ -569,7 +569,7 @@ static void handle_error_source(struct pcie_device *aerdev, pci_write_config_dword(dev, pos + PCI_ERR_COR_STATUS, info->status); } else - do_recovery(dev, info->severity); + pci_do_recovery(dev, info->severity); } #ifdef CONFIG_ACPI_APEI_PCIEAER @@ -633,7 +633,7 @@ static void aer_recover_work_func(struct work_struct *work) continue; } cper_print_aer(pdev, entry.severity, entry.regs); - do_recovery(pdev, entry.severity); + pci_do_recovery(pdev, entry.severity); pci_dev_put(pdev); } } -- Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc., a Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.