diff options
Diffstat (limited to 'src/mainboard/google/guado')
-rw-r--r-- | src/mainboard/google/guado/lan.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mainboard/google/guado/lan.c b/src/mainboard/google/guado/lan.c index 041c3f0c51..0d97dbea0e 100644 --- a/src/mainboard/google/guado/lan.c +++ b/src/mainboard/google/guado/lan.c @@ -31,7 +31,8 @@ static unsigned int search(char *p, u8 *a, unsigned int lengthp, /* Searching */ for (j = 0; j <= lengtha - lengthp; j++) { - for (i = 0; i < lengthp && p[i] == a[i + j]; i++) ; + for (i = 0; i < lengthp && p[i] == a[i + j]; i++) + ; if (i >= lengthp) return j; } |