From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765786AbcINVO6 (ORCPT ); Wed, 14 Sep 2016 17:14:58 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:42759 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762659AbcINVOx (ORCPT ); Wed, 14 Sep 2016 17:14:53 -0400 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org D472061A82 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=tbaicar@codeaurora.org From: Tyler Baicar To: rjw@rjwysocki.net, lenb@kernel.org, bhelgaas@google.com, paul.gortmaker@windriver.com, sudipm.mukherjee@gmail.com, axboe@fb.com, izumi.taku@jp.fujitsu.com, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Cc: bp@suse.de, Tyler Baicar Subject: [PATCH V2 0/2] Correct AER severity for printing AER information Date: Wed, 14 Sep 2016 15:14:44 -0600 Message-Id: <1473887686-24420-1-git-send-email-tbaicar@codeaurora.org> X-Mailer: git-send-email 1.8.2.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org AER severity handling has two issues that cause the AER information to be printed incorrectly. The first issue is that the function to calculate the AER severity is called twice in the code path to print the AER information. The second issue is that the original call to calculate the AER severity expects the CPER severity but is recieving the GHES severity. V2: Fix minor typo in commit text. V1: https://lkml.org/lkml/2016/9/12/1075 Tyler Baicar (2): PCI/AER: Remove duplicate AER severity translation acpi: apei: send correct severity to calculate AER severity drivers/acpi/apei/ghes.c | 2 +- drivers/pci/pcie/aer/aerdrv_errprint.c | 6 ++---- include/linux/aer.h | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) -- Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.