summaryrefslogtreecommitdiffstats
path: root/drivers/nubus
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2008-10-16 07:01:31 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 20:21:30 +0200
commit2e0eb731e52ebfab177860e59e6e3464c2521839 (patch)
treefbeba8e70f7cd5eb2a5264f2efe89182e7d6537f /drivers/nubus
parentFix Documentation/filesystems/ramfs-rootfs-initramfs.txt (diff)
downloadlinux-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>
Diffstat (limited to 'drivers/nubus')
-rw-r--r--drivers/nubus/nubus.c2
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;