WSL2-Linux-Kernel/scripts/genksyms
Linus Torvalds 3aea311c1b genksyms: fix gperf removal conversion
I had stupidly missed one special use of 'is_reserved_word()' when I
converted the code to avoid gperf.

I had changed that function to return the token ID directly rather than
a pointer to the token descriptor structure, but that meant that the
test for "is this a reserved word" changed from checking the return
value against NULL, to checking that it wasn't negative.

And while I had converted the main token parser over, I missed the
special case of the typeof phrase handling.  And since our dependency
chain for genksyms does not include the genksyms program itself
changing, my kernel rebuild didn't show the problem.

Fixes: bb3290d916 ("Remove gperf usage from toolchain")
Reported-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-09-08 14:32:34 -07:00
..
.gitignore genksyms: migrate parser to implicit rules 2011-06-09 14:04:41 -04:00
Makefile Remove gperf usage from toolchain 2017-08-19 11:02:53 -07:00
genksyms.c kbuild: modversions: add infrastructure for emitting relative CRCs 2017-02-03 08:28:25 -08:00
genksyms.h genksyms: add printf format attribute to error_with_pos() 2017-06-06 01:22:48 +09:00
keywords.c Remove gperf usage from toolchain 2017-08-19 11:02:53 -07:00
lex.l genksyms: fix gperf removal conversion 2017-09-08 14:32:34 -07:00
lex.lex.c_shipped genksyms: fix gperf removal conversion 2017-09-08 14:32:34 -07:00
parse.tab.c_shipped genksyms: Regenerate parser 2017-01-05 13:01:13 +01:00
parse.tab.h_shipped genksyms: Regenerate parser 2016-11-29 15:57:40 +01:00
parse.y genksyms: Fix segfault with invalid declarations 2017-01-05 13:00:54 +01:00