[PATCH] pci-calgary: fix function declaration

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Randy Dunlap
Date: Thursday, August 7, 2008 - 3:14 pm

From: Randy Dunlap <randy.dunlap@oracle.com>
cc: muli@il.ibm.com, jdmason@kudzu.us

Fix function declaration:

linux-next-20080807/arch/x86/kernel/pci-calgary_64.c:1353:36: warning: non-ANSI function declaration of function 'get_tce_space_from_tar'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 arch/x86/kernel/pci-calgary_64.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20080807.orig/arch/x86/kernel/pci-calgary_64.c
+++ linux-next-20080807/arch/x86/kernel/pci-calgary_64.c
@@ -1350,7 +1350,7 @@ static void calgary_init_bitmap_from_tce
  * Function for kdump case. Get the tce tables from first kernel
  * by reading the contents of the base adress register of calgary iommu
  */
-static void get_tce_space_from_tar()
+static void get_tce_space_from_tar(void)
 {
 	int bus;
 	void __iomem *target;


---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] pci-calgary: fix function declaration, Randy Dunlap, (Thu Aug 7, 3:14 pm)
Re: [PATCH] pci-calgary: fix function declaration, Muli Ben-Yehuda, (Fri Aug 8, 12:00 am)
Re: [PATCH] pci-calgary: fix function declaration, Ingo Molnar, (Mon Aug 11, 9:48 am)