From e5f29e8bf8c928a83764fcf428c1a05767bff7dd Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Thu, 16 Mar 2017 14:16:56 -0700 Subject: arch/x86: Fix prefer errors detected by checkpatch Fix the following warnings detected by checkpatch.pl: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' WARNING: plain inline is preferred over __inline__ TEST=Build and run on Galileo Gen2 Change-Id: I8ba98dfe04481a7ccf4f3b910660178b7e22a4a7 Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/18863 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/arch/x86/mpspec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/arch/x86/mpspec.c') diff --git a/src/arch/x86/mpspec.c b/src/arch/x86/mpspec.c index d1a2da2fcf..b0d563a4c8 100644 --- a/src/arch/x86/mpspec.c +++ b/src/arch/x86/mpspec.c @@ -157,9 +157,9 @@ void smp_write_processors(struct mp_config_table *mc) { int boot_apic_id; int order_id; - unsigned apic_version; - unsigned cpu_features; - unsigned cpu_feature_flags; + unsigned int apic_version; + unsigned int cpu_features; + unsigned int cpu_feature_flags; struct cpuid_result result; struct device *cpu; -- cgit v1.2.3