Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751921AbdH1RZ4 (ORCPT ); Mon, 28 Aug 2017 13:25:56 -0400 Received: from mx2.suse.de ([195.135.220.15]:52428 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751408AbdH1RZz (ORCPT ); Mon, 28 Aug 2017 13:25:55 -0400 Date: Mon, 28 Aug 2017 19:25:40 +0200 From: Borislav Petkov To: Andy Shevchenko 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" Subject: Re: [PATCH V3] acpi: apei: clear error status before acknowledging the error Message-ID: <20170828172539.5cl7baxdxxaixlri@pd.tnic> References: <1503939221-27732-1-git-send-email-tbaicar@codeaurora.org> <1503939660.25945.127.camel@linux.intel.com> <20170828171405.2s4rlebloi5lyhga@pd.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 449 Lines: 17 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) --