Message ID | 1439916257-5483-3-git-send-email-fu.wei@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBDMZP7MEUMLRBRGCZWXAKGQELGJIDVQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by patches.linaro.org (Postfix) with ESMTPS id 2B82622EF8 for <linaro@patches.linaro.org>; Tue, 18 Aug 2015 16:45:57 +0000 (UTC) Received: by wicul11 with SMTP id ul11sf37390341wic.1 for <linaro@patches.linaro.org>; Tue, 18 Aug 2015 09:45:56 -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=ewxnEXRxVBhuCPm6FmLNAhgORv4vaP2jAKNZCls/2Ts=; b=Z1Hkax2ihKC8xoIUrg7C+cDR7imsxgnfgo6s+iYXdGGa/91PWGynVRIoUxNqlssOEy DdHnsWdkRlnGrKvIcrw3T7ias1PaJdgh86Q9OBNqaYyHADDzyDCwNvrBDjqcRy9ziauI Rum1MoGShW5l2qp7kRJs163VcIVrbJQRAkDZ5ymm6kJWphBQHiipo1FxYZmyYrO6N5tO LfgfGQ60zZvijgyI5Hhnk3kRgGTIep7qjOIaBiIUH7RhCC8ujokMtiwRclb4E2Y4Or5R HtZa/PdgvX9l+1lAVrua2JL0Eb6QmMvdrxBzs2dW+X1OrY84XJwBV4MXowsz1iReBcBl d25Q== X-Gm-Message-State: ALoCoQnUWjowhf7q0DRX7jYtQO80y4cPZDkz60EayyUVg+gZuDje26OLiRJwis19y+048pf1VN+Z X-Received: by 10.112.99.37 with SMTP id en5mr2076158lbb.7.1439916356377; Tue, 18 Aug 2015 09:45:56 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.180.227 with SMTP id dr3ls765637lac.45.gmail; Tue, 18 Aug 2015 09:45:56 -0700 (PDT) X-Received: by 10.152.43.77 with SMTP id u13mr6899299lal.96.1439916356191; Tue, 18 Aug 2015 09:45:56 -0700 (PDT) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id h6si14486892lbz.7.2015.08.18.09.45.56 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Aug 2015 09:45:56 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by lalv9 with SMTP id v9so103244022lal.0 for <patchwork-forward@linaro.org>; Tue, 18 Aug 2015 09:45:56 -0700 (PDT) X-Received: by 10.112.199.133 with SMTP id jk5mr7303261lbc.32.1439916356094; Tue, 18 Aug 2015 09:45:56 -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.162.200 with SMTP id yc8csp591280lbb; Tue, 18 Aug 2015 09:45:54 -0700 (PDT) X-Received: by 10.68.203.42 with SMTP id kn10mr15194952pbc.43.1439916354722; Tue, 18 Aug 2015 09:45:54 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id on3si31233997pac.127.2015.08.18.09.45.53; Tue, 18 Aug 2015 09:45:54 -0700 (PDT) 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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754021AbbHRQpp (ORCPT <rfc822;matthew.hart@linaro.org> + 28 others); Tue, 18 Aug 2015 12:45:45 -0400 Received: from mail-pd0-f175.google.com ([209.85.192.175]:34508 "EHLO mail-pd0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753539AbbHRQpn (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 18 Aug 2015 12:45:43 -0400 Received: by pdbfa8 with SMTP id fa8so69941151pdb.1 for <linux-kernel@vger.kernel.org>; Tue, 18 Aug 2015 09:45:42 -0700 (PDT) X-Received: by 10.70.88.2 with SMTP id bc2mr14896626pdb.52.1439916342528; Tue, 18 Aug 2015 09:45:42 -0700 (PDT) Received: from localhost.localdomain (li400-65.members.linode.com. [106.187.50.65]) by smtp.googlemail.com with ESMTPSA id sb2sm18639684pbc.32.2015.08.18.09.45.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 18 Aug 2015 09:45:42 -0700 (PDT) From: fu.wei@linaro.org To: linaro-acpi@lists.linaro.org, linux-kernel@vger.kernel.org, zjzhang@codeaurora.org, tony.luck@intel.com, gong.chen@intel.com, ying.huang@intel.com, tomasz.nowicki@linaro.org Cc: tekkamanninja@gmail.com, graeme.gregory@linaro.org, al.stone@linaro.org, hanjun.guo@linaro.org, jcm@redhat.com, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, rjw@rjwysocki.net, bp@alien8.de, matt.fleming@intel.com, "Chen, Gong" <gong.chen@linux.intel.com> Subject: [PATCH v2 2/2] acpi, apei, bert: Clear error status at the end of error handling Date: Wed, 19 Aug 2015 00:44:17 +0800 Message-Id: <1439916257-5483-3-git-send-email-fu.wei@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1439916257-5483-1-git-send-email-fu.wei@linaro.org> References: <=fu.wei@linaro.org> <1439916257-5483-1-git-send-email-fu.wei@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: fu.wei@linaro.org 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.48 as permitted sender) smtp.mailfrom=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 1426227..dc2b79f 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, } cper_estatus_print(KERN_INFO HW_ERR, estatus); + + /* Clear error status */ + estatus->block_status = 0; next: estatus = (void *)estatus + estatus_len; remain -= estatus_len;