public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ia64: fix a couple of warnings for EXPORT_SYMBOL
@ 2012-02-27 23:08 Paul Gortmaker
  2012-02-28  0:18 ` Luck, Tony
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Gortmaker @ 2012-02-27 23:08 UTC (permalink / raw)
  To: tony.luck, jes, fenghua.yu; +Cc: linux-ia64, linux-kernel, Paul Gortmaker

To get rid of things like:

arch/ia64/sn/kernel/sn2/sn_hwperf.c:1002:1: warning: data definition has no type or storage class
arch/ia64/sn/kernel/sn2/sn_hwperf.c:1002:1: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/ia64/sn/kernel/sn2/sn_hwperf.c:1002:1: warning: parameter names (without types) in function declaration

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---

[I can carry this patch if required, but it is 100% independent and
 can go in via the ia64 maintainers.  Let me know which is best. ]

diff --git a/arch/ia64/sn/kernel/io_common.c b/arch/ia64/sn/kernel/io_common.c
index 4433dd0..fbb5f2f 100644
--- a/arch/ia64/sn/kernel/io_common.c
+++ b/arch/ia64/sn/kernel/io_common.c
@@ -7,6 +7,7 @@
  */
 
 #include <linux/bootmem.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 #include <asm/sn/types.h>
 #include <asm/sn/addrs.h>
diff --git a/arch/ia64/sn/kernel/sn2/sn_hwperf.c b/arch/ia64/sn/kernel/sn2/sn_hwperf.c
index 2de41d4..4554f68 100644
--- a/arch/ia64/sn/kernel/sn2/sn_hwperf.c
+++ b/arch/ia64/sn/kernel/sn2/sn_hwperf.c
@@ -25,6 +25,7 @@
 
 #include <linux/fs.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <linux/vmalloc.h>
 #include <linux/seq_file.h>
 #include <linux/miscdevice.h>
-- 
1.7.9.1


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

* RE: [PATCH] ia64: fix a couple of warnings for EXPORT_SYMBOL
  2012-02-27 23:08 [PATCH] ia64: fix a couple of warnings for EXPORT_SYMBOL Paul Gortmaker
@ 2012-02-28  0:18 ` Luck, Tony
  2012-02-28  1:31   ` Paul Gortmaker
  0 siblings, 1 reply; 3+ messages in thread
From: Luck, Tony @ 2012-02-28  0:18 UTC (permalink / raw)
  To: Paul Gortmaker, jes@trained-monkey.org, Yu, Fenghua
  Cc: linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org

[I can carry this patch if required, but it is 100% independent and
 can go in via the ia64 maintainers.  Let me know which is best. ]

I'll take it into the ia64 tree (already grabbed the machine_kexec.c
and tiocx.c patches you posted earlier).

-Tony

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

* Re: [PATCH] ia64: fix a couple of warnings for EXPORT_SYMBOL
  2012-02-28  0:18 ` Luck, Tony
@ 2012-02-28  1:31   ` Paul Gortmaker
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Gortmaker @ 2012-02-28  1:31 UTC (permalink / raw)
  To: Luck, Tony
  Cc: jes@trained-monkey.org, Yu, Fenghua, linux-ia64@vger.kernel.org,
	linux-kernel@vger.kernel.org

On Mon, Feb 27, 2012 at 7:18 PM, Luck, Tony <tony.luck@intel.com> wrote:
> [I can carry this patch if required, but it is 100% independent and
>  can go in via the ia64 maintainers.  Let me know which is best. ]
>
> I'll take it into the ia64 tree (already grabbed the machine_kexec.c
> and tiocx.c patches you posted earlier).

Hi Tony,

Great -- thanks for the reply, I will adjust my queues accordingly.

Paul.
---

>
> -Tony
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

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

end of thread, other threads:[~2012-02-28  1:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-27 23:08 [PATCH] ia64: fix a couple of warnings for EXPORT_SYMBOL Paul Gortmaker
2012-02-28  0:18 ` Luck, Tony
2012-02-28  1:31   ` Paul Gortmaker

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