src/lib: Fix space between type, * and variable name
Fix the following errors detected by checkpatch.pl: ERROR: "foo* bar" should be "foo *bar" ERROR: "(foo*)" should be "(foo *)" ERROR: "foo * const * bar" should be "foo * const *bar" TEST=Build and run on Galileo Gen2 Change-Id: I0d20ca360d8829f7d7670bacf0da4a0300bfb0c1 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18696 Tested-by: build bot (Jenkins) Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
@ -146,7 +146,7 @@ static inline int tohex4(unsigned int c)
|
||||
return (c <= 9) ? (c + '0') : (c - 10 + 'a');
|
||||
}
|
||||
|
||||
static void tohex16(unsigned int val, char* dest)
|
||||
static void tohex16(unsigned int val, char *dest)
|
||||
{
|
||||
dest[0] = tohex4(val>>12);
|
||||
dest[1] = tohex4((val>>8) & 0xf);
|
||||
|
Reference in New Issue
Block a user