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:
9506057
)
[ARM] 2922/1: compile fix for shark
author
Vincent Sanders
<vince@kyllikki.org>
Tue, 20 Sep 2005 15:21:42 +0000
(16:21 +0100)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Tue, 20 Sep 2005 15:21:42 +0000
(16:21 +0100)
Patch from Vincent Sanders
Shark platform fails to build with gcc 4 because of a bad lvalue assignement
Signed-off-by: Vincent Sanders <vince@arm.linux.org.uk>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/boot/compressed/ofw-shark.c
patch
|
blob
|
history
diff --git
a/arch/arm/boot/compressed/ofw-shark.c
b/arch/arm/boot/compressed/ofw-shark.c
index 7f6f5db0d0603275c668c0beebee4d5851e28ee0..465c54b6b128dceeed0608c40449aeebe8dcfbcc 100644
(file)
--- a/
arch/arm/boot/compressed/ofw-shark.c
+++ b/
arch/arm/boot/compressed/ofw-shark.c
@@
-256,5
+256,5
@@
asmlinkage void ofw_init(ofw_handle_t o, int *nomr, int *pointer)
temp[11]='\0';
mem_len = OF_getproplen(o,phandle, temp);
OF_getprop(o,phandle, temp, buffer, mem_len);
-
(unsigned char) pointer[32]
= ((unsigned char *) buffer)[mem_len-2];
+
* ((unsigned char *) &pointer[32])
= ((unsigned char *) buffer)[mem_len-2];
}