Skip to content

Commit

Permalink
nubus: fix mis-indented statement
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
ij1 authored and torvalds committed Oct 16, 2008
1 parent dd1c53a commit 2e0eb73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/nubus/nubus.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2e0eb73

Please sign in to comment.