Re: [PATCH 1/9] kconfig: annotate non-trivial fall-trough
From: Arnaud Lacombe
Date: Mon Jun 06 2011 - 15:34:06 EST
Hi,
On Mon, Jun 6, 2011 at 3:08 PM, Daniel K. <dk@xxxxx> wrote:
> Arnaud Lacombe wrote:
>>
>> Signed-off-by: Arnaud Lacombe <lacombar@xxxxxxxxx>
>> ---
>> scripts/kconfig/conf.c | 4 ++++
>> scripts/kconfig/confdata.c | 5 +++++
>> scripts/kconfig/gconf.c | 1 +
>> scripts/kconfig/mconf.c | 1 +
>> 4 files changed, 11 insertions(+), 0 deletions(-)
>>
>> diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
>> index 006ad81..8be7374 100644
>> --- a/scripts/kconfig/conf.c
>> +++ b/scripts/kconfig/conf.c
>> @@ -106,6 +106,7 @@ static int conf_askvalue(struct symbol *sym, const
>> char *def)
>> return 0;
>> }
>> check_stdin();
>> + /* FALLTHOUGH */
>> case oldaskconfig:
>> fflush(stdout);
>> xfgets(line, 128, stdin);
>
> Could it be done using the inside voice?
>
> s/FALLTHOUGH/fall through/
>
Sure, I followed the LINT syntax and missed
`Documentation/CodingStyle' defined its own. [And I actually managed
to make a typo in a so trivial patch :(]. Anyway, thanks for pointing
that out. The tree at github contains the fixed version.
- Arnaud
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/