mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] trivial: remove references to non-existent include/linux/config.h
@ 2009-06-11 23:02 Markus Heidelberg
  2009-06-23  8:52 ` Jiri Kosina
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Heidelberg @ 2009-06-11 23:02 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: linux-kernel, Markus Heidelberg

Ignore drivers/staging/ since it is very likely that new drivers
introduce it again.

Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
---
 arch/h8300/kernel/timer/tpu.c |    1 -
 scripts/basic/fixdep.c        |    3 +--
 scripts/mod/sumversion.c      |    2 --
 3 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/arch/h8300/kernel/timer/tpu.c b/arch/h8300/kernel/timer/tpu.c
index e7c6e61..2193a2e 100644
--- a/arch/h8300/kernel/timer/tpu.c
+++ b/arch/h8300/kernel/timer/tpu.c
@@ -7,7 +7,6 @@
  *
  */
 
-#include <linux/config.h>
 #include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/kernel.h>
diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c
index 8912c0f..1f5e628 100644
--- a/scripts/basic/fixdep.c
+++ b/scripts/basic/fixdep.c
@@ -16,8 +16,7 @@
  * tells make when to remake a file.
  *
  * To use this list as-is however has the drawback that virtually
- * every file in the kernel includes <linux/config.h> which then again
- * includes <linux/autoconf.h>
+ * every file in the kernel includes <linux/autoconf.h>.
  *
  * If the user re-runs make *config, linux/autoconf.h will be
  * regenerated.  make notices that and will rebuild every file which
diff --git a/scripts/mod/sumversion.c b/scripts/mod/sumversion.c
index aadc522..ecf9c7d 100644
--- a/scripts/mod/sumversion.c
+++ b/scripts/mod/sumversion.c
@@ -334,8 +334,6 @@ static int parse_source_files(const char *objfile, struct md4_ctx *md)
 		deps_drivers/net/dummy.o := \
 		  drivers/net/dummy.c \
 		    $(wildcard include/config/net/fastroute.h) \
-		  include/linux/config.h \
-		    $(wildcard include/config/h.h) \
 		  include/linux/module.h \
 
 	   Sum all files in the same dir or subdirs.
-- 
1.6.3.2.236.ge505d


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] trivial: remove references to non-existent include/linux/config.h
  2009-06-11 23:02 [PATCH] trivial: remove references to non-existent include/linux/config.h Markus Heidelberg
@ 2009-06-23  8:52 ` Jiri Kosina
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2009-06-23  8:52 UTC (permalink / raw)
  To: Markus Heidelberg; +Cc: linux-kernel

On Fri, 12 Jun 2009, Markus Heidelberg wrote:

> Ignore drivers/staging/ since it is very likely that new drivers
> introduce it again.
> 
> Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
> ---
>  arch/h8300/kernel/timer/tpu.c |    1 -
>  scripts/basic/fixdep.c        |    3 +--
>  scripts/mod/sumversion.c      |    2 --
>  3 files changed, 1 insertions(+), 5 deletions(-)
> 
> diff --git a/arch/h8300/kernel/timer/tpu.c b/arch/h8300/kernel/timer/tpu.c
> index e7c6e61..2193a2e 100644
> --- a/arch/h8300/kernel/timer/tpu.c
> +++ b/arch/h8300/kernel/timer/tpu.c
> @@ -7,7 +7,6 @@
>   *
>   */
>  
> -#include <linux/config.h>
>  #include <linux/errno.h>
>  #include <linux/sched.h>
>  #include <linux/kernel.h>
> diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c
> index 8912c0f..1f5e628 100644
> --- a/scripts/basic/fixdep.c
> +++ b/scripts/basic/fixdep.c
> @@ -16,8 +16,7 @@
>   * tells make when to remake a file.
>   *
>   * To use this list as-is however has the drawback that virtually
> - * every file in the kernel includes <linux/config.h> which then again
> - * includes <linux/autoconf.h>
> + * every file in the kernel includes <linux/autoconf.h>.
>   *
>   * If the user re-runs make *config, linux/autoconf.h will be
>   * regenerated.  make notices that and will rebuild every file which
> diff --git a/scripts/mod/sumversion.c b/scripts/mod/sumversion.c
> index aadc522..ecf9c7d 100644
> --- a/scripts/mod/sumversion.c
> +++ b/scripts/mod/sumversion.c
> @@ -334,8 +334,6 @@ static int parse_source_files(const char *objfile, struct md4_ctx *md)
>  		deps_drivers/net/dummy.o := \
>  		  drivers/net/dummy.c \
>  		    $(wildcard include/config/net/fastroute.h) \
> -		  include/linux/config.h \
> -		    $(wildcard include/config/h.h) \
>  		  include/linux/module.h \
>  
>  	   Sum all files in the same dir or subdirs.

Applied, thanks Markus.

-- 
Jiri Kosina
SUSE Labs


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-23  8:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-11 23:02 [PATCH] trivial: remove references to non-existent include/linux/config.h Markus Heidelberg
2009-06-23  8:52 ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®