From: Andreas Ruprecht <andreas.ruprecht@fau.de>
To: Ulf Magnusson <ulfalizer.lkml@gmail.com>
Cc: Paul Bolle <pebolle@tiscali.nl>,
Valentin Rothberg <valentinrothberg@gmail.com>,
rafael.j.wysocki@intel.com, linux-kbuild@vger.kernel.org,
linux-kernel@vger.kernel.org,
hengelein Stefan <stefan.hengelein@fau.de>,
linux@dominikbrodowski.net, Michal Marek <mmarek@suse.cz>,
Andreas Ruprecht <andreas.ruprecht@fau.de>
Subject: [PATCH v2 0/2] kconfig: warn of unhandled characters in Kconfig commands
Date: Tue, 7 Jul 2015 12:31:15 +0200 [thread overview]
Message-ID: <cover.1436264921.git.andreas.ruprecht@fau.de> (raw)
This patchset changes the lexer file to emit a warning if any unhandled
characters are found in the input. So far, Kconfig options like
+config FOO
bool
[...]
(note the wrong '+'!) were parsed without a warning. As simply adding a
warning for '.' produces lots of warnings as occasionally '---help---'
is used instead of 'help' (and thus '-' is recognized as an unhandled
character), we need to handle '---help---' separately.
Andreas Ruprecht (2):
kconfig: warn of unhandled characters in Kconfig commands
kconfig: Regenerate shipped zconf.{hash,lex}.c files
scripts/kconfig/zconf.gperf | 1 +
scripts/kconfig/zconf.hash.c_shipped | 58 +++++++++--------
scripts/kconfig/zconf.l | 18 ++++--
scripts/kconfig/zconf.lex.c_shipped | 120 +++++++++++++++++++----------------
4 files changed, 110 insertions(+), 87 deletions(-)
--
1.9.1
WARNING: multiple messages have this Message-ID (diff)
From: Andreas Ruprecht <andreas.ruprecht@fau.de>
To: Ulf Magnusson <ulfalizer.lkml@gmail.com>
Cc: Paul Bolle <pebolle@tiscali.nl>,
Valentin Rothberg <valentinrothberg@gmail.com>,
rafael.j.wysocki@intel.com, <linux-kbuild@vger.kernel.org>,
<linux-kernel@vger.kernel.org>,
hengelein Stefan <stefan.hengelein@fau.de>,
linux@dominikbrodowski.net, Michal Marek <mmarek@suse.cz>,
Andreas Ruprecht <andreas.ruprecht@fau.de>
Subject: [PATCH v2 0/2] kconfig: warn of unhandled characters in Kconfig commands
Date: Tue, 7 Jul 2015 12:31:15 +0200 [thread overview]
Message-ID: <cover.1436264921.git.andreas.ruprecht@fau.de> (raw)
This patchset changes the lexer file to emit a warning if any unhandled
characters are found in the input. So far, Kconfig options like
+config FOO
bool
[...]
(note the wrong '+'!) were parsed without a warning. As simply adding a
warning for '.' produces lots of warnings as occasionally '---help---'
is used instead of 'help' (and thus '-' is recognized as an unhandled
character), we need to handle '---help---' separately.
Andreas Ruprecht (2):
kconfig: warn of unhandled characters in Kconfig commands
kconfig: Regenerate shipped zconf.{hash,lex}.c files
scripts/kconfig/zconf.gperf | 1 +
scripts/kconfig/zconf.hash.c_shipped | 58 +++++++++--------
scripts/kconfig/zconf.l | 18 ++++--
scripts/kconfig/zconf.lex.c_shipped | 120 +++++++++++++++++++----------------
4 files changed, 110 insertions(+), 87 deletions(-)
--
1.9.1
next reply other threads:[~2015-07-07 10:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-07 10:31 Andreas Ruprecht [this message]
2015-07-07 10:31 ` [PATCH v2 0/2] kconfig: warn of unhandled characters in Kconfig commands Andreas Ruprecht
2015-07-07 10:31 ` [PATCH v2 1/2] " Andreas Ruprecht
2015-07-07 10:31 ` Andreas Ruprecht
2015-07-08 20:14 ` Ulf Magnusson
2015-07-09 17:52 ` Ulf Magnusson
2015-07-07 10:31 ` [PATCH v2 2/2] kconfig: Regenerate shipped zconf.{hash,lex}.c files Andreas Ruprecht
2015-07-07 10:31 ` Andreas Ruprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1436264921.git.andreas.ruprecht@fau.de \
--to=andreas.ruprecht@fau.de \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@dominikbrodowski.net \
--cc=mmarek@suse.cz \
--cc=pebolle@tiscali.nl \
--cc=rafael.j.wysocki@intel.com \
--cc=stefan.hengelein@fau.de \
--cc=ulfalizer.lkml@gmail.com \
--cc=valentinrothberg@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.