Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 527B2EB64DD for ; Mon, 7 Aug 2023 09:03:19 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.577869.904951 (Exim 4.92) (envelope-from ) id 1qSw8p-0000Ue-SV; Mon, 07 Aug 2023 09:03:07 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 577869.904951; Mon, 07 Aug 2023 09:03:07 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qSw8p-0000UX-Pe; Mon, 07 Aug 2023 09:03:07 +0000 Received: by outflank-mailman (input) for mailman id 577869; Mon, 07 Aug 2023 09:03:06 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qSw8o-0000UO-JR for xen-devel@lists.xenproject.org; Mon, 07 Aug 2023 09:03:06 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 38a5eda8-3501-11ee-b27d-6b7b168915f2; Mon, 07 Aug 2023 11:03:05 +0200 (CEST) Received: from [192.168.1.15] (host-79-35-203-138.retail.telecomitalia.it [79.35.203.138]) by support.bugseng.com (Postfix) with ESMTPSA id 2B7334EE0737; Mon, 7 Aug 2023 11:03:05 +0200 (CEST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 38a5eda8-3501-11ee-b27d-6b7b168915f2 Message-ID: <3abb05c9-93b8-3a0c-3a57-4d8fd89bfc14@bugseng.com> Date: Mon, 7 Aug 2023 11:03:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [XEN PATCH] x86: Address violations of MISRA C:2012 and drop bool_t Content-Language: en-US, it To: Jan Beulich Cc: consulting@bugseng.com, Andrew Cooper , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , Wei Liu , Stefano Stabellini , Michal Orzel , Xenia Ragiadakou , Ayan Kumar Halder , xen-devel@lists.xenproject.org References: <2cd78bd0d39b36fe73e87cd1011658a54c2c729d.1691158092.git.federico.serafini@bugseng.com> <41d5d8aa-c936-2024-b738-2df5242513ec@suse.com> From: Federico Serafini Organization: BUGSENG srl In-Reply-To: <41d5d8aa-c936-2024-b738-2df5242513ec@suse.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 07/08/23 10:44, Jan Beulich wrote: > On 04.08.2023 16:11, Federico Serafini wrote: >> Give a name to unnamed parameters to address violations of >> MISRA C:2012 Rule 8.2 ("Function types shall be in prototype form with >> named parameters"). >> Keep consistency between object and function declarations thus >> addressing violations of MISRA C:2012 Rule 8.3 ("All declarations of an >> object or function shall use the same names and type qualifiers"). >> Replace the occurrences of bool_t with bool. > > Hmm, I read the title as a promise that bool_t would be gone from the > code base (which I couldn't really believe). Perhaps "... by replacing > bool_t uses"? Sounds good to me. -- Federico Serafini, M.Sc. Software Engineer, BUGSENG (http://bugseng.com)