[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1435913987.2423.38.camel@tiscali.nl>
Date: Fri, 03 Jul 2015 10:59:47 +0200
From: Paul Bolle <pebolle@...cali.nl>
To: Andreas Ruprecht <andreas.ruprecht@....de>,
Valentin Rothberg <valentinrothberg@...il.com>
Cc: rafael.j.wysocki@...el.com, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org,
hengelein Stefan <stefan.hengelein@....de>,
linux@...inikbrodowski.net
Subject: Re: Kconfig: '+config' valid syntax?
On vr, 2015-07-03 at 09:33 +0200, Andreas Ruprecht wrote:
> I tested the behaviour on yesterday's linux-next, but the commit
> mentioned above will only complain for invalid characters inside the
> PARAM case and not for COMMANDs. So, as an example, if you write
> something like
>
> config ACPI_REV_OVERRIDE_POSSIBLE
> depends on X86 +
> [...]
>
> Kconfig will complain about the '+'. This, however, does not apply for
> top-level statements like 'config', 'menuconfig', and so on.
Which might explain why this silly mistake went unnoticed. (And, as I
think you implied, it doesn't help that the empty rule we're hitting
here is not commented.)
So the naive solution seems to be to also add the warning to COMMAND's
rule for '.'. A quick test suggest that would work. Am I missing some
obvious downside with that solution?
Thanks,
Paul Bolle
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists