diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-16 14:16:56 -0700 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-17 03:18:04 +0100 |
commit | e5f29e8bf8c928a83764fcf428c1a05767bff7dd (patch) | |
tree | 1df8041f4973b5ba691d5cfe23262743434bb171 /src/arch/x86/mpspec.c | |
parent | 024b13d07c6dcef7acefc3b69c16c46be431fb82 (diff) |
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 <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18863
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/arch/x86/mpspec.c')
-rw-r--r-- | src/arch/x86/mpspec.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |