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"? > --- a/xen/arch/x86/cpu/common.c > +++ b/xen/arch/x86/cpu/common.c > @@ -26,11 +26,11 @@ > > bool __read_mostly opt_dom0_cpuid_faulting = true; > > -bool_t opt_arat = 1; > +bool opt_arat = 1; > boolean_param("arat", opt_arat); > > /* pku: Flag to enable Memory Protection Keys (default on). */ > -static bool_t opt_pku = 1; > +static bool opt_pku = 1; > boolean_param("pku", opt_pku); In both cases this also wants switching to "true". Happy to make that adjustment while committing (together with whatever adjustment to the title you'd prefer), at which point: Acked-by: Jan Beulich <jbeul...@suse.com> Jan