WSL2-Linux-Kernel/scripts/genksyms
Jesper Juhl 1ae14703e7 genksyms: Use same type in loop comparison
The ARRAY_SIZE macro in scripts/genksyms/genksyms.c returns a value of
type size_t. That value is being compared to a variable of type int in
a loop in read_node(). Change the int variable to size_t type as well,
so we don't do signed vs unsigned type comparisons with all the
potential promotion/sign extension trouble that can cause (also
silences compiler warnings at high levels of warnings).

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
2011-07-25 14:55:17 +02:00
..
.gitignore genksyms: migrate parser to implicit rules 2011-06-09 14:04:41 -04:00
Makefile genksyms: migrate parser to implicit rules 2011-06-09 14:04:41 -04:00
genksyms.c genksyms: Use same type in loop comparison 2011-07-25 14:55:17 +02:00
genksyms.h genksyms: Track changes to enum constants 2011-03-17 15:13:56 +01:00
keywords.gperf genksyms: pass hash and lookup functions name and target language though the input file 2011-06-09 14:04:40 -04:00
keywords.hash.c_shipped genksym: regen parser 2011-06-09 14:04:42 -04:00
lex.l genksyms: migrate parser to implicit rules 2011-06-09 14:04:41 -04:00
lex.lex.c_shipped genksym: regen parser 2011-06-09 14:04:42 -04:00
parse.tab.c_shipped genksym: regen parser 2011-06-09 14:04:42 -04:00
parse.tab.h_shipped genksym: regen parser 2011-06-09 14:04:42 -04:00
parse.y genksyms: Track changes to enum constants 2011-03-17 15:13:56 +01:00