[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1445959842-1960-5-git-send-email-hofrat@osadl.org>
Date: Tue, 27 Oct 2015 16:30:42 +0100
From: Nicholas Mc Guire <hofrat@...dl.org>
To: Michal Marek <mmarek@...e.com>
Cc: "Yann E. MORIN" <yann.morin.1998@...e.fr>,
linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
Nicholas Mc Guire <hofrat@...dl.org>
Subject: [PATCH 4/4] Mark files generated by confdata.c
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@...dl.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"
"%s\n",
rootmenu.prompt->text);
--
1.7.10.4
--
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