Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751404AbdH1RUk (ORCPT ); Mon, 28 Aug 2017 13:20:40 -0400 Received: from mail-qk0-f182.google.com ([209.85.220.182]:37127 "EHLO mail-qk0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751182AbdH1RUi (ORCPT ); Mon, 28 Aug 2017 13:20:38 -0400 MIME-Version: 1.0 In-Reply-To: <20170828171405.2s4rlebloi5lyhga@pd.tnic> References: <1503939221-27732-1-git-send-email-tbaicar@codeaurora.org> <1503939660.25945.127.camel@linux.intel.com> <20170828171405.2s4rlebloi5lyhga@pd.tnic> From: Andy Shevchenko Date: Mon, 28 Aug 2017 20:20:37 +0300 Message-ID: Subject: Re: [PATCH V3] acpi: apei: clear error status before acknowledging the error To: Borislav Petkov Cc: Andy Shevchenko , Tyler Baicar , "Rafael J. Wysocki" , Len Brown , Will Deacon , james.morse@arm.com, shiju.jose@huawei.com, Geliang Tang , Tony Luck , "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 443 Lines: 15 On Mon, Aug 28, 2017 at 8:14 PM, Borislav Petkov wrote: > On Mon, Aug 28, 2017 at 08:01:00PM +0300, Andy Shevchenko wrote: >> You can also do this here, like >> if (is_hest_type_generic_v2(ghes) && rc != -ENOENT) > > https://lkml.kernel.org/r/20170824081408.iwg7qyyr226btivo@pd.tnic if (rc != -ENOENT && is_hest_type_generic_v2(ghes)) :-) But again, your call to choose :-) -- With Best Regards, Andy Shevchenko