From e35db2c6eb66945d443f60ad2ba6e0e0fed27ad1 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Wed, 30 Mar 2016 13:30:12 -0600 Subject: src/: Fix lint style-labels warnings The lint-stable-004-style-labels check tries to verify that labels in c and asm files start at the first column, and don't have whitespace in front of them. This fixes the 2 actual violations of the lint check. Change-Id: Ia11a90d7301e62a116c7a9ef9b4c2bc3f982b308 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/14193 Reviewed-by: Timothy Pearson Reviewed-by: Julius Werner Tested-by: build bot (Jenkins) --- src/cpu/amd/family_10h-family_15h/processor_name.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/amd/family_10h-family_15h') diff --git a/src/cpu/amd/family_10h-family_15h/processor_name.c b/src/cpu/amd/family_10h-family_15h/processor_name.c index ac0392b7d9..3d92ee2fd4 100644 --- a/src/cpu/amd/family_10h-family_15h/processor_name.c +++ b/src/cpu/amd/family_10h-family_15h/processor_name.c @@ -340,7 +340,7 @@ int init_processor_name(void) } } - done: +done: strcpymax(&program_string[j], processor_name_string, sizeof(program_string) - j); } -- cgit v1.2.3