diff options
author | Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> | 2008-10-16 07:01:31 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 20:21:30 +0200 |
commit | 2e0eb731e52ebfab177860e59e6e3464c2521839 (patch) | |
tree | fbeba8e70f7cd5eb2a5264f2efe89182e7d6537f | |
parent | Fix Documentation/filesystems/ramfs-rootfs-initramfs.txt (diff) | |
download | linux-2e0eb731e52ebfab177860e59e6e3464c2521839.tar.xz linux-2e0eb731e52ebfab177860e59e6e3464c2521839.zip |
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>
-rw-r--r-- | drivers/nubus/nubus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nubus/nubus.c b/drivers/nubus/nubus.c index 2f047e573d86..f5f75844954c 100644 --- a/drivers/nubus/nubus.c +++ b/drivers/nubus/nubus.c @@ -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; |