From: Ilpo Järvinen Date: Thu, 16 Oct 2008 05:01:31 +0000 (-0700) Subject: nubus: fix mis-indented statement X-Git-Tag: v2.6.28-rc1~537 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2e0eb731e52ebfab177860e59e6e3464c2521839;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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;