From: Bjorn Helgaas <bjorn.helgaas@hp.com>
To: linux-ia64@vger.kernel.org
Subject: [PATCH] SGI SN drivers: don't report !sn2 hardware as an error
Date: Fri, 03 Mar 2006 22:34:34 +0000 [thread overview]
Message-ID: <200603031534.34456.bjorn.helgaas@hp.com> (raw)
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");
reply other threads:[~2006-03-03 22:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200603031534.34456.bjorn.helgaas@hp.com \
--to=bjorn.helgaas@hp.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox