summaryrefslogtreecommitdiffstats
path: root/scripts/genksyms/parse.y
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-03-11 01:18:25 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-03-11 01:18:25 +0900
commitef44bca87c6b505df0d54e12d67e839837cbcd30 (patch)
treed75e06f731c33eb114bece9706ad701b5c3818bf /scripts/genksyms/parse.y
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 (diff)
parentfde42bfcd232fb1a46d844dbf486cb67cb910004 (diff)
downloadlinux-stable-ef44bca87c6b505df0d54e12d67e839837cbcd30.tar.gz
linux-stable-ef44bca87c6b505df0d54e12d67e839837cbcd30.tar.bz2
linux-stable-ef44bca87c6b505df0d54e12d67e839837cbcd30.zip
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Pull Michal's unmerged branch into the new Kbuild repository. * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild: genksyms: Regenerate parser genksyms: Fix segfault with invalid declarations
Diffstat (limited to 'scripts/genksyms/parse.y')
-rw-r--r--scripts/genksyms/parse.y2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/genksyms/parse.y b/scripts/genksyms/parse.y
index 4fba255e54ae..00a6d7e54971 100644
--- a/scripts/genksyms/parse.y
+++ b/scripts/genksyms/parse.y
@@ -322,8 +322,6 @@ direct_declarator:
{ $$ = $2; }
| '(' declarator ')'
{ $$ = $3; }
- | '(' error ')'
- { $$ = $3; }
;
/* Nested declarators differ from regular declarators in that they do