From 2e0eb731e52ebfab177860e59e6e3464c2521839 Mon Sep 17 00:00:00 2001 From: Ilpo Järvinen Date: Wed, 15 Oct 2008 22:01:31 -0700 Subject: nubus: fix mis-indented statement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- drivers/nubus/nubus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/nubus') diff --git a/drivers/nubus/nubus.c b/drivers/nubus/nubus.c index 2f047e573d8..f5f75844954 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; -- cgit v1.2.3-70-g09d2