CODING_STYLE: Custom type names must be snake-cased by word

There's the unwritten convention 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 <agarciav@amd.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Alejandro Vallejo authored and Jan Beulich committed 2025-06-24 14:54:34 +02:00
1 parent cc73941646
commit eea7d98d1c
1 file changed
+6
+6
View File
@@ -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
-----
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.