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

From: Borislav Petkov
Date: Mon Aug 28 2017 - 13:26:00 EST


On Mon, Aug 28, 2017 at 08:20:37PM +0300, Andy Shevchenko wrote:
> if (rc != -ENOENT && is_hest_type_generic_v2(ghes))
> :-)
>
> But again, your call to choose :-)

Slow down please.

What do you think is more readable: a compound if-statement or two
simple ones, the second one with an explanatory comment?

--
Regards/Gruss,
Boris.

SUSE Linux GmbH, GF: Felix ImendÃrffer, Jane Smithard, Graham Norton, HRB 21284 (AG NÃrnberg)
--