projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd1c53a
)
nubus: fix mis-indented statement
author
Ilpo Järvinen
<ilpo.jarvinen@helsinki.fi>
Thu, 16 Oct 2008 05:01:31 +0000
(22:01 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:30 +0000
(11:21 -0700)
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>
drivers/nubus/nubus.c
patch
|
blob
|
history
diff --git
a/drivers/nubus/nubus.c
b/drivers/nubus/nubus.c
index 2f047e573d86cda7210d2346582324b5f126518e..f5f75844954cf829641774ec940307fd8e71b635 100644
(file)
--- 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;