Re: [PATCH V3] acpi: apei: clear error status before acknowledging the error

From: Andy Shevchenko
Date: Mon Aug 28 2017 - 13:20:44 EST


On Mon, Aug 28, 2017 at 8:14 PM, Borislav Petkov <bp@xxxxxxx> 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@xxxxxxx

if (rc != -ENOENT && is_hest_type_generic_v2(ghes))
:-)

But again, your call to choose :-)

--
With Best Regards,
Andy Shevchenko