On Fri, 20 Jun 2025, Alejandro Vallejo wrote:
> There's the unwritten convention in x86 of splitting type names using
> underscores. Add such convention to the CODINNG_STYLE to make it
> common and less unwritten.
> 
> Signed-off-by: Alejandro Vallejo <agarc...@amd.com>

Acked-by: Stefano Stabellini <sstabell...@kernel.org>

> ---
> v4:
>   * Move new paragraph into a new "Identifiers" section
> ---
>  CODING_STYLE | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/CODING_STYLE b/CODING_STYLE
> index 5644f1697f..7bf3848444 100644
> --- a/CODING_STYLE
> +++ b/CODING_STYLE
> @@ -113,6 +113,12 @@ Braces should be omitted for blocks with a single 
> statement. e.g.,
>  if ( condition )
>      single_statement();
>  
> +Identifiers
> +-----------
> +
> +When giving names to identifiers (variables, functions, constants...), 
> separate
> +words using underscores (for example, use "my_foo" instead of "myfoo").
> +
>  Types
>  -----
>  
> -- 
> 2.43.0
> 

Reply via email to