lkml.org 
[lkml]   [2015]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 4/4] Mark files generated by confdata.c
From
Date
Dne 27.10.2015 v 16:30 Nicholas Mc Guire napsal(a):
> scripts/kconfig/confdata.c generates a number of files - indicate the
> location of the generator in the file heading to ease reading the sources.
>
> Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
> ---
> This is no actual code change - compile-testing should thus do
> checkpatch.pl will fuss about "WARNING: quoted string split across lines"
> but it seems this is fine in this case given the initial code.
>
> Compile tested with x86_64_defconfig
>
> Patch is against 4.3-rc6 (localversion-next is -next-20151022)
>
> scripts/kconfig/confdata.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
> index 0b7dc2f..6a2be59 100644
> --- a/scripts/kconfig/confdata.c
> +++ b/scripts/kconfig/confdata.c
> @@ -651,7 +651,8 @@ conf_write_heading(FILE *fp, struct conf_printer *printer, void *printer_arg)
>
> snprintf(buf, sizeof(buf),
> "\n"
> - "Automatically generated file; DO NOT EDIT.\n"
> + "Automatically generated by scripts/kconfig/confdata.c:"
> + " DO NOT EDIT.\n"

You cannot run the C source to regenerate the file, so how about
"generated by kconfig"?

Michal


\
 
 \ /
  Last update: 2015-10-27 22:41    [W:0.144 / U:0.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site