From: Matthew Dobson <colpatch@us.ibm.com>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>,
William Lee Irwin III <wli@holomorphy.com>,
"Martin J. Bligh" <mbligh@aracnet.com>
Subject: Re: Linux 2.5.51
Date: Wed, 11 Dec 2002 16:40:49 -0800 [thread overview]
Message-ID: <3DF7DB11.7060403@us.ibm.com> (raw)
In-Reply-To: Pine.LNX.4.44.0212091912180.17200-100000@penguin.transmeta.com
[-- Attachment #1: Type: text/plain, Size: 346 bytes --]
Linus,
This patch (from wli & myself) was overlooked for 2.5.51. Without this
fix, sysfs panics when registering topology for NUMA boxen. Please add
this to your bk tree.
[mcd@arrakis push]$ diffstat topo_ordering-2.5.51.patch
memblk.c | 4 ++--
node.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
Cheers!
-Matt
[-- Attachment #2: topo_ordering-2.5.51.patch --]
[-- Type: text/plain, Size: 1160 bytes --]
diff -Nur --exclude-from=/usr/src/.dontdiff linux-2.5.51-vanilla/drivers/base/memblk.c linux-2.5.51-topo_ordering/drivers/base/memblk.c
--- linux-2.5.51-vanilla/drivers/base/memblk.c Mon Dec 9 18:46:26 2002
+++ linux-2.5.51-topo_ordering/drivers/base/memblk.c Wed Dec 11 16:36:31 2002
@@ -49,7 +49,7 @@
static int __init register_memblk_type(void)
{
- driver_register(&memblk_driver);
- return devclass_register(&memblk_devclass);
+ int error = devclass_register(&memblk_devclass);
+ return error ? error : driver_register(&memblk_driver);
}
postcore_initcall(register_memblk_type);
diff -Nur --exclude-from=/usr/src/.dontdiff linux-2.5.51-vanilla/drivers/base/node.c linux-2.5.51-topo_ordering/drivers/base/node.c
--- linux-2.5.51-vanilla/drivers/base/node.c Mon Dec 9 18:45:44 2002
+++ linux-2.5.51-topo_ordering/drivers/base/node.c Wed Dec 11 16:36:06 2002
@@ -93,7 +93,7 @@
static int __init register_node_type(void)
{
- devclass_register(&node_devclass);
- return driver_register(&node_driver);
+ int error = devclass_register(&node_devclass);
+ return error ? error : driver_register(&node_driver);
}
postcore_initcall(register_node_type);
next prev parent reply other threads:[~2002-12-12 0:39 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-10 3:17 Linux 2.5.51 Linus Torvalds
2002-12-10 5:47 ` Allan Duncan
2002-12-10 6:49 ` James Simmons
2002-12-10 16:59 ` Benjamin Herrenschmidt
2002-12-10 16:58 ` Stian Jordet
2002-12-10 18:16 ` James Simmons
2002-12-10 19:18 ` Benjamin Herrenschmidt
2002-12-11 9:25 ` Eric W. Biederman
2002-12-11 10:21 ` Benjamin Herrenschmidt
2002-12-12 15:01 ` Eric W. Biederman
2002-12-23 14:56 ` Geert Uytterhoeven
2002-12-11 15:26 ` James Simmons
2002-12-12 15:02 ` Eric W. Biederman
2002-12-12 15:54 ` Richard B. Johnson
2002-12-23 15:00 ` Geert Uytterhoeven
2002-12-10 19:17 ` Benjamin Herrenschmidt
2002-12-10 18:12 ` James Simmons
2002-12-10 5:52 ` Linux 2.5.51 (fbcon issues) CaT
2002-12-10 6:52 ` James Simmons
2002-12-10 6:22 ` CaT
2002-12-10 18:24 ` James Simmons
2002-12-12 0:40 ` Matthew Dobson [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-12-10 12:15 Linux 2.5.51 Petr Vandrovec
2002-12-10 22:18 ` James Simmons
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=3DF7DB11.7060403@us.ibm.com \
--to=colpatch@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@aracnet.com \
--cc=torvalds@transmeta.com \
--cc=wli@holomorphy.com \
/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