* [PATCH] SGI SN drivers: don't report !sn2 hardware as an error
@ 2006-03-03 22:34 Bjorn Helgaas
0 siblings, 0 replies; only message in thread
From: Bjorn Helgaas @ 2006-03-03 22:34 UTC (permalink / raw)
To: linux-ia64
This stuff is all in the generic ia64 kernel, and the new initcall error
reporting complains about them.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Index: work-mm4/drivers/char/mmtimer.c
=================================--- work-mm4.orig/drivers/char/mmtimer.c 2006-03-03 15:10:21.000000000 -0700
+++ work-mm4/drivers/char/mmtimer.c 2006-03-03 15:12:48.000000000 -0700
@@ -675,7 +675,7 @@
cnodeid_t node, maxn = -1;
if (!ia64_platform_is("sn2"))
- return -1;
+ return 0;
/*
* Sanity check the cycles/sec variable
Index: work-mm4/drivers/serial/sn_console.c
=================================--- work-mm4.orig/drivers/serial/sn_console.c 2006-03-03 15:10:21.000000000 -0700
+++ work-mm4/drivers/serial/sn_console.c 2006-03-03 15:12:48.000000000 -0700
@@ -820,7 +820,7 @@
int retval;
if (!ia64_platform_is("sn2"))
- return -ENODEV;
+ return 0;
printk(KERN_INFO "sn_console: Console driver init\n");
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-03-03 22:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-03 22:34 [PATCH] SGI SN drivers: don't report !sn2 hardware as an error Bjorn Helgaas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox