1
0
Fork 0

nubus: fix mis-indented statement

It seems this is the right way around because otherwise the len usage in
the outer loop would be pretty pointless.

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
hifive-unleashed-5.1
Ilpo Järvinen 2008-10-15 22:01:31 -07:00 committed by Linus Torvalds
parent dd1c53a64a
commit 2e0eb731e5
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ static void nubus_advance(unsigned char **ptr, int len, int map)
{
while(not_useful(p,map))
p++;
p++;
p++;
len--;
}
*ptr = p;