From 73a28942031675fce20d6649d2c2ce66fe62f416 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Wed, 15 Mar 2017 17:52:06 -0700 Subject: cpu/intel: Add int to unsigned Fix the following warning detected by checkpatch.pl: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' TEST=Build and run on Galileo Gen2 Change-Id: I207713a3370e5a9abed4535187aa2aaeef502d6f Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/18848 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/cpu/intel/hyperthreading/intel_sibling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/intel/hyperthreading/intel_sibling.c') diff --git a/src/cpu/intel/hyperthreading/intel_sibling.c b/src/cpu/intel/hyperthreading/intel_sibling.c index 9d2160f754..640d9b37f5 100644 --- a/src/cpu/intel/hyperthreading/intel_sibling.c +++ b/src/cpu/intel/hyperthreading/intel_sibling.c @@ -53,7 +53,7 @@ int intel_ht_sibling(void) void intel_sibling_init(struct device *cpu) { - unsigned i, siblings; + unsigned int i, siblings; struct cpuid_result result; /* On the bootstrap processor see if I want sibling cpus enabled */ -- cgit v1.2.3