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>
This commit is contained in:
Lee Leahy
2017-03-08 16:34:12 -08:00
parent eaee1d8a5f
commit 75b859978a
9 changed files with 81 additions and 81 deletions

View File

@@ -1,14 +1,14 @@
#include <delay.h>
void mdelay(unsigned msecs)
void mdelay(unsigned int msecs)
{
unsigned i;
unsigned int i;
for(i = 0; i < msecs; i++) {
udelay(1000);
}
}
void delay(unsigned secs)
void delay(unsigned int secs)
{
unsigned i;
unsigned int i;
for(i = 0; i < secs; i++) {
mdelay(1000);
}