public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] FRV: Fix a warning due to an unnecessary #include of an MTD header
@ 2009-06-30 21:16 David Howells
  2009-06-30 21:26 ` David Howells
  0 siblings, 1 reply; 4+ messages in thread
From: David Howells @ 2009-06-30 21:16 UTC (permalink / raw)
  To: torvalds, akpm, dwmw2; +Cc: linux-kernel, David Howells

Fix a warning due to an unnecessary #inclusion of linux/mtd/partitions:

  CC      arch/frv/mb93090-mb00/flash.o
In file included from arch/frv/mb93090-mb00/flash.c:15:
include/linux/mtd/partitions.h:50: warning: 'struct mtd_info' declared inside parameter list
include/linux/mtd/partitions.h:50: warning: its scope is only this definition or declaration, which is probably not what you want
include/linux/mtd/partitions.h:51: warning: 'struct mtd_info' declared inside parameter list
include/linux/mtd/partitions.h:61: warning: 'struct mtd_info' declared inside parameter list
include/linux/mtd/partitions.h:67: warning: 'struct mtd_info' declared inside parameter list

Signed-off-by: David Howells <dhowells@redhat.com>
---

 arch/frv/mb93090-mb00/flash.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/arch/frv/mb93090-mb00/flash.c b/arch/frv/mb93090-mb00/flash.c
index c0e3707..6aad117 100644
--- a/arch/frv/mb93090-mb00/flash.c
+++ b/arch/frv/mb93090-mb00/flash.c
@@ -11,7 +11,6 @@
 
 #include <linux/init.h>
 #include <linux/platform_device.h>
-#include <linux/mtd/partitions.h>
 #include <linux/mtd/physmap.h>
 
 #define MB93090_BOOTROM_ADDR	0xFF000000	/* Boot ROM */


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

* [PATCH] FRV: Fix a warning due to an unnecessary #include of an MTD header
@ 2009-06-30 21:24 David Howells
  2009-07-01 21:07 ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: David Howells @ 2009-06-30 21:24 UTC (permalink / raw)
  To: torvalds, akpm, dwmw2; +Cc: linux-kernel, David Howells

Fix a warning due to an unnecessary #inclusion of linux/mtd/partitions:

  CC      arch/frv/mb93090-mb00/flash.o
In file included from arch/frv/mb93090-mb00/flash.c:15:
include/linux/mtd/partitions.h:50: warning: 'struct mtd_info' declared inside parameter list
include/linux/mtd/partitions.h:50: warning: its scope is only this definition or declaration, which is probably not what you want
include/linux/mtd/partitions.h:51: warning: 'struct mtd_info' declared inside parameter list
include/linux/mtd/partitions.h:61: warning: 'struct mtd_info' declared inside parameter list
include/linux/mtd/partitions.h:67: warning: 'struct mtd_info' declared inside parameter list

Signed-off-by: David Howells <dhowells@redhat.com>
---

 arch/frv/mb93090-mb00/flash.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)


diff --git a/arch/frv/mb93090-mb00/flash.c b/arch/frv/mb93090-mb00/flash.c
index c0e3707..6aad117 100644
--- a/arch/frv/mb93090-mb00/flash.c
+++ b/arch/frv/mb93090-mb00/flash.c
@@ -11,7 +11,6 @@
 
 #include <linux/init.h>
 #include <linux/platform_device.h>
-#include <linux/mtd/partitions.h>
 #include <linux/mtd/physmap.h>
 
 #define MB93090_BOOTROM_ADDR	0xFF000000	/* Boot ROM */


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

* Re: [PATCH] FRV: Fix a warning due to an unnecessary #include of an MTD header
  2009-06-30 21:16 [PATCH] FRV: Fix a warning due to an unnecessary #include of an MTD header David Howells
@ 2009-06-30 21:26 ` David Howells
  0 siblings, 0 replies; 4+ messages in thread
From: David Howells @ 2009-06-30 21:26 UTC (permalink / raw)
  To: torvalds, akpm; +Cc: dhowells, linux-kernel


Oops.  Wrong domain for dwmw2.

David

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

* Re: [PATCH] FRV: Fix a warning due to an unnecessary #include of an MTD header
  2009-06-30 21:24 David Howells
@ 2009-07-01 21:07 ` Andrew Morton
  0 siblings, 0 replies; 4+ messages in thread
From: Andrew Morton @ 2009-07-01 21:07 UTC (permalink / raw)
  To: David Howells; +Cc: torvalds, dwmw2, linux-kernel, dhowells

On Tue, 30 Jun 2009 22:24:25 +0100
David Howells <dhowells@redhat.com> wrote:

> Fix a warning due to an unnecessary #inclusion of linux/mtd/partitions:
> 
>   CC      arch/frv/mb93090-mb00/flash.o
> In file included from arch/frv/mb93090-mb00/flash.c:15:
> include/linux/mtd/partitions.h:50: warning: 'struct mtd_info' declared inside parameter list
> include/linux/mtd/partitions.h:50: warning: its scope is only this definition or declaration, which is probably not what you want
> include/linux/mtd/partitions.h:51: warning: 'struct mtd_info' declared inside parameter list
> include/linux/mtd/partitions.h:61: warning: 'struct mtd_info' declared inside parameter list
> include/linux/mtd/partitions.h:67: warning: 'struct mtd_info' declared inside parameter list

hm.  Maybe fix include/linux/mtd/partitions.h?

>  arch/frv/mb93090-mb00/flash.c |    1 -

That file isn't in mainline or linux-next afacit.

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

end of thread, other threads:[~2009-07-01 21:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-30 21:16 [PATCH] FRV: Fix a warning due to an unnecessary #include of an MTD header David Howells
2009-06-30 21:26 ` David Howells
  -- strict thread matches above, loose matches on Subject: below --
2009-06-30 21:24 David Howells
2009-07-01 21:07 ` Andrew Morton

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