summaryrefslogtreecommitdiffstats
path: root/src/lib/timer.c
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-08 16:34:12 -0800
committerLee Leahy <leroy.p.leahy@intel.com>2017-03-09 17:24:17 +0100
commit75b859978a6b1901301f4ee0b53de84d3d83bd0a (patch)
tree1598ea4583355b52a86c71c471993e700b2f1ef2 /src/lib/timer.c
parenteaee1d8a5f6a5a70f7bdf10825e047c0529d5157 (diff)
downloadcoreboot-75b859978a6b1901301f4ee0b53de84d3d83bd0a.tar.gz
coreboot-75b859978a6b1901301f4ee0b53de84d3d83bd0a.tar.bz2
coreboot-75b859978a6b1901301f4ee0b53de84d3d83bd0a.zip
src/lib: Add "int" following "unsigned"
Fix the following warning detected by checkpatch.pl: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' The remaining 37 warnings in gcov-io.c and libgcov.c are all false positives generated by checkpatch detecting a symbol or function name ending in _unsigned. TEST=Build and run on Galileo Gen2 Change-Id: I9f1b71993caca8b3eb3f643525534a937d365ab3 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18695 Tested-by: build bot (Jenkins) Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/lib/timer.c')
-rw-r--r--src/lib/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/timer.c b/src/lib/timer.c
index da24067a59f9..0796d99ccf24 100644
--- a/src/lib/timer.c
+++ b/src/lib/timer.c
@@ -20,7 +20,7 @@
__attribute__((weak)) void init_timer() { /* do nothing */ }
-void udelay(unsigned usec)
+void udelay(unsigned int usec)
{
struct stopwatch sw;