Message ID | 1431010651-23117-3-git-send-email-gong.chen@linux.intel.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDH5JHXXQMIRBAEQVOVAKGQEVSWGYXA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2E56C20553 for <linaro@patches.linaro.org>; Thu, 7 May 2015 02:03:45 +0000 (UTC) Received: by labgx2 with SMTP id gx2sf8762627lab.1 for <linaro@patches.linaro.org>; Wed, 06 May 2015 19:03:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=Oo8J1L9083VCQ38avXeOVeewRHWavPJ02USWAvsC7bM=; b=JpF5sbdEXQCjs8WSb9c4iSn1ZQ8tQzrPRAFTvnh1s3djFxUo+Rpy3VLLq/LLyfCKso UP85GUuO925B/PT4Nf3hj5IdR4+V+vmpWSQ5qGdljj88n22sNIqzjABo7kR7jMY2/qWP bpMaqv0f7pGcjJIN8uxid26dlqJfxoFwUGZqjii5ZjInksdUGHqH/XId4KIkERLPSaf1 /cXMNlWu5yrIF0ED8mrp4VPMMJtFqxUOrB1n05Yhf2TCNAkoqsFGLVtRL0wpOcqKtgHq 5wUnKjMb9LNg7ysLgB1dnC1Em2JD5i23V9irGyKHbEgtsQ0FLw0es3DZluYZAiieGPGf xczQ== X-Gm-Message-State: ALoCoQkCHc7+/qp2JaeK8jLv8eEycDIH+/XSSUyHbn6vkLXQtmcVnL7qqCdEDIh9NTctRs2U5fPz X-Received: by 10.180.11.101 with SMTP id p5mr738323wib.3.1430964224055; Wed, 06 May 2015 19:03:44 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.116.38 with SMTP id jt6ls150536lab.101.gmail; Wed, 06 May 2015 19:03:43 -0700 (PDT) X-Received: by 10.112.139.1 with SMTP id qu1mr1213169lbb.8.1430964223683; Wed, 06 May 2015 19:03:43 -0700 (PDT) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id ci12si345009lad.37.2015.05.06.19.03.43 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 May 2015 19:03:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by labbd9 with SMTP id bd9so20334835lab.2 for <patchwork-forward@linaro.org>; Wed, 06 May 2015 19:03:43 -0700 (PDT) X-Received: by 10.112.204.104 with SMTP id kx8mr1169950lbc.72.1430964223368; Wed, 06 May 2015 19:03:43 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.67.65 with SMTP id l1csp3173096lbt; Wed, 6 May 2015 19:03:42 -0700 (PDT) X-Received: by 10.66.117.233 with SMTP id kh9mr2693426pab.103.1430964221644; Wed, 06 May 2015 19:03:41 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gi6si702412pbd.142.2015.05.06.19.03.40; Wed, 06 May 2015 19:03:41 -0700 (PDT) Received-SPF: none (google.com: linux-acpi-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751292AbbEGCDk (ORCPT <rfc822; roy.franz@linaro.org> + 7 others); Wed, 6 May 2015 22:03:40 -0400 Received: from mga09.intel.com ([134.134.136.24]:32261 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751109AbbEGCDi (ORCPT <rfc822;linux-acpi@vger.kernel.org>); Wed, 6 May 2015 22:03:38 -0400 Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 06 May 2015 19:03:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,382,1427785200"; d="scan'208";a="567512099" Received: from gchen-sby.bj.intel.com (HELO localhost) ([10.238.158.211]) by orsmga003.jf.intel.com with ESMTP; 06 May 2015 19:03:36 -0700 From: "Chen, Gong" <gong.chen@linux.intel.com> To: linux-acpi@vger.kernel.org Cc: Tomasz Nowicki <tomasz.nowicki@linaro.org>, "Chen, Gong" <gong.chen@linux.intel.com>, Tony Luck <tony.luck@intel.com> Subject: [PATCH 2/2] acpi, apei, bert: Clear error status at the end of error handling Date: Thu, 7 May 2015 10:57:31 -0400 Message-Id: <1431010651-23117-3-git-send-email-gong.chen@linux.intel.com> X-Mailer: git-send-email 2.3.2 In-Reply-To: <1431010651-23117-1-git-send-email-gong.chen@linux.intel.com> References: <1431010651-23117-1-git-send-email-gong.chen@linux.intel.com> Sender: linux-acpi-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-acpi@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: gong.chen@linux.intel.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/drivers/acpi/apei/bert.c b/drivers/acpi/apei/bert.c index c35a748a2be5..3e608e8f2dd7 100644 --- a/drivers/acpi/apei/bert.c +++ b/drivers/acpi/apei/bert.c @@ -65,6 +65,9 @@ static void __init bert_print_all(struct acpi_hest_generic_status *region, first = 0; } cper_estatus_print(KERN_INFO HW_ERR, estatus); + + /* Clear error status */ + estatus->block_status = 0; next: estatus = (void *)estatus + estatus_len; remain -= estatus_len;