[PATCH] kbuild: signed char fixes for scripts
This time I did not break anything... and they shut up gcc4 ;) Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:

committed by
Sam Ravnborg

parent
84c2a2eb34
commit
61d9cdf2a9
@@ -207,9 +207,9 @@ symbol_valid(struct sym_entry *s)
|
||||
* move then they may get dropped in pass 2, which breaks the
|
||||
* kallsyms rules.
|
||||
*/
|
||||
if ((s->addr == _etext && strcmp(s->sym + offset, "_etext")) ||
|
||||
(s->addr == _einittext && strcmp(s->sym + offset, "_einittext")) ||
|
||||
(s->addr == _eextratext && strcmp(s->sym + offset, "_eextratext")))
|
||||
if ((s->addr == _etext && strcmp((char*)s->sym + offset, "_etext")) ||
|
||||
(s->addr == _einittext && strcmp((char*)s->sym + offset, "_einittext")) ||
|
||||
(s->addr == _eextratext && strcmp((char*)s->sym + offset, "_eextratext")))
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user