aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2008-10-16 01:01:31 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 14:21:30 -0400
commit2e0eb731e52ebfab177860e59e6e3464c2521839 (patch)
treefbeba8e70f7cd5eb2a5264f2efe89182e7d6537f /drivers
parentdd1c53a64a48b6c16f349e46b71f0938d9a4fa1f (diff)
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')
-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)
126 { 126 {
127 while(not_useful(p,map)) 127 while(not_useful(p,map))
128 p++; 128 p++;
129 p++; 129 p++;
130 len--; 130 len--;
131 } 131 }
132 *ptr = p; 132 *ptr = p;