kernel style preference trivia: '* const' vs '*const' ?

From: Joe Perches
Date: Sun Oct 09 2022 - 12:21:58 EST


The kernel uses '* const' about 10:1 over '*const'

coding_style and checkpatch don't care one way or another.

Does anyone care if there should be some kernel style preference?

$ git grep -P -oh '\b(?:char|u8)\s*\*\s*const\b' -- '*.[ch]' | \
sort | uniq -c | sort -rn
12450 char * const
1357 char *const
41 u8 * const
17 char* const
9 u8 *const
5 char *const
2 char * const
2 char *const
1 char * const
1 char *const
1 char * const