All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kill misc. warnings
@ 2004-02-13  0:30 Jesse Barnes
  0 siblings, 0 replies; only message in thread
From: Jesse Barnes @ 2004-02-13  0:30 UTC (permalink / raw)
  To: linux-ia64

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-02-13  0:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-13  0:30 [PATCH] kill misc. warnings Jesse Barnes

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.