[PATCH] kill misc. warnings

From: Jesse Barnes <jbarnes_at_sgi.com>
Date: 2004-02-13 11:30:04
Fix up some misc warnings: include module.h in cache.c since it uses
EXPORT_SYMBOL(), fix printk format arg in sn_serial.c.

Jesse


===== arch/ia64/sn/kernel/sn2/cache.c 1.5 vs edited =====
--- 1.5/arch/ia64/sn/kernel/sn2/cache.c	Sun Jan 18 22:36:08 2004
+++ edited/arch/ia64/sn/kernel/sn2/cache.c	Thu Feb 12 15:55:56 2004
@@ -6,7 +6,7 @@
  * Copyright (C) 2001-2003 Silicon Graphics, Inc. All rights reserved.
  *
  */
-
+#include <linux/module.h>
 #include <asm/pgalloc.h>
 
 /**
===== drivers/char/sn_serial.c 1.3 vs edited =====
--- 1.3/drivers/char/sn_serial.c	Tue Feb  3 21:39:51 2004
+++ edited/drivers/char/sn_serial.c	Thu Feb 12 16:27:23 2004
@@ -772,7 +772,7 @@
 	int len = 0;
 	off_t	begin = 0;
 
-	len += sprintf(page, "sn_serial: nasid:%d irq:%d tx:%d rx:%d\n",
+	len += sprintf(page, "sn_serial: nasid:%ld irq:%d tx:%d rx:%d\n",
 		       ia64_sn_get_console_nasid(), sn_sal_irq,
 		       sn_total_tx_count, sn_total_rx_count);
 	*eof = 1;
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Feb 12 19:31:11 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:22 EST