Loading scripts/conmakehash.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -33,7 +33,7 @@ void usage(char *argv0) int getunicode(char **p0) int getunicode(char **p0) { { unsigned char *p = *p0; char *p = *p0; while (*p == ' ' || *p == '\t') while (*p == ' ' || *p == '\t') p++; p++; Loading scripts/kallsyms.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -207,9 +207,9 @@ symbol_valid(struct sym_entry *s) * move then they may get dropped in pass 2, which breaks the * move then they may get dropped in pass 2, which breaks the * kallsyms rules. * kallsyms rules. */ */ if ((s->addr == _etext && strcmp(s->sym + offset, "_etext")) || if ((s->addr == _etext && strcmp((char*)s->sym + offset, "_etext")) || (s->addr == _einittext && strcmp(s->sym + offset, "_einittext")) || (s->addr == _einittext && strcmp((char*)s->sym + offset, "_einittext")) || (s->addr == _eextratext && strcmp(s->sym + offset, "_eextratext"))) (s->addr == _eextratext && strcmp((char*)s->sym + offset, "_eextratext"))) return 0; return 0; } } Loading scripts/mod/sumversion.c +4 −4 Original line number Original line Diff line number Diff line Loading @@ -252,9 +252,9 @@ static int parse_comment(const char *file, unsigned long len) } } /* FIXME: Handle .s files differently (eg. # starts comments) --RR */ /* FIXME: Handle .s files differently (eg. # starts comments) --RR */ static int parse_file(const signed char *fname, struct md4_ctx *md) static int parse_file(const char *fname, struct md4_ctx *md) { { signed char *file; char *file; unsigned long i, len; unsigned long i, len; file = grab_file(fname, &len); file = grab_file(fname, &len); Loading Loading @@ -332,7 +332,7 @@ static int parse_source_files(const char *objfile, struct md4_ctx *md) Sum all files in the same dir or subdirs. Sum all files in the same dir or subdirs. */ */ while ((line = get_next_line(&pos, file, flen)) != NULL) { while ((line = get_next_line(&pos, file, flen)) != NULL) { signed char* p = line; char* p = line; if (strncmp(line, "deps_", sizeof("deps_")-1) == 0) { if (strncmp(line, "deps_", sizeof("deps_")-1) == 0) { check_files = 1; check_files = 1; continue; continue; Loading Loading @@ -458,7 +458,7 @@ out: close(fd); close(fd); } } static int strip_rcs_crap(signed char *version) static int strip_rcs_crap(char *version) { { unsigned int len, full_len; unsigned int len, full_len; Loading Loading
scripts/conmakehash.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -33,7 +33,7 @@ void usage(char *argv0) int getunicode(char **p0) int getunicode(char **p0) { { unsigned char *p = *p0; char *p = *p0; while (*p == ' ' || *p == '\t') while (*p == ' ' || *p == '\t') p++; p++; Loading
scripts/kallsyms.c +3 −3 Original line number Original line Diff line number Diff line Loading @@ -207,9 +207,9 @@ symbol_valid(struct sym_entry *s) * move then they may get dropped in pass 2, which breaks the * move then they may get dropped in pass 2, which breaks the * kallsyms rules. * kallsyms rules. */ */ if ((s->addr == _etext && strcmp(s->sym + offset, "_etext")) || if ((s->addr == _etext && strcmp((char*)s->sym + offset, "_etext")) || (s->addr == _einittext && strcmp(s->sym + offset, "_einittext")) || (s->addr == _einittext && strcmp((char*)s->sym + offset, "_einittext")) || (s->addr == _eextratext && strcmp(s->sym + offset, "_eextratext"))) (s->addr == _eextratext && strcmp((char*)s->sym + offset, "_eextratext"))) return 0; return 0; } } Loading
scripts/mod/sumversion.c +4 −4 Original line number Original line Diff line number Diff line Loading @@ -252,9 +252,9 @@ static int parse_comment(const char *file, unsigned long len) } } /* FIXME: Handle .s files differently (eg. # starts comments) --RR */ /* FIXME: Handle .s files differently (eg. # starts comments) --RR */ static int parse_file(const signed char *fname, struct md4_ctx *md) static int parse_file(const char *fname, struct md4_ctx *md) { { signed char *file; char *file; unsigned long i, len; unsigned long i, len; file = grab_file(fname, &len); file = grab_file(fname, &len); Loading Loading @@ -332,7 +332,7 @@ static int parse_source_files(const char *objfile, struct md4_ctx *md) Sum all files in the same dir or subdirs. Sum all files in the same dir or subdirs. */ */ while ((line = get_next_line(&pos, file, flen)) != NULL) { while ((line = get_next_line(&pos, file, flen)) != NULL) { signed char* p = line; char* p = line; if (strncmp(line, "deps_", sizeof("deps_")-1) == 0) { if (strncmp(line, "deps_", sizeof("deps_")-1) == 0) { check_files = 1; check_files = 1; continue; continue; Loading Loading @@ -458,7 +458,7 @@ out: close(fd); close(fd); } } static int strip_rcs_crap(signed char *version) static int strip_rcs_crap(char *version) { { unsigned int len, full_len; unsigned int len, full_len; Loading