mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: viro@parcelfarce.linux.theplanet.co.uk
To: Linus Torvalds <torvalds@transmeta.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Re: ALSA problems: sound lockup, modules, 2.5.70
Date: Tue, 27 May 2003 19:51:04 +0100	[thread overview]
Message-ID: <20030527185104.GB27916@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <3ED3AC36.5050503@trollprod.org>

	Argh.  Missing initialization in char_dev.c - it's definitely
responsible for crap on unload.  Load side appears to be something else,
though...

--- C70/fs/char_dev.c	Mon May 26 22:21:39 2003
+++ linux/fs/char_dev.c	Tue May 27 14:48:53 2003
@@ -89,6 +89,8 @@
 	if (cd == NULL)
 		return ERR_PTR(-ENOMEM);
 
+	memset(cd, 0, sizeof(struct char_device_struct));
+
 	write_lock_irq(&chrdevs_lock);
 
 	/* temporary */

  reply	other threads:[~2003-05-27 18:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-27 18:19 Olivier NICOLAS
2003-05-27 18:51 ` viro [this message]
2003-05-27 20:07   ` [PATCH] " Stian Jordet
2003-05-27 21:22 Ivan Gyurdiev
2003-05-28 12:55 Downing, Thomas
2003-05-28 13:23 ` Stian Jordet
2003-05-28 13:39   ` Florin Iucha
2003-05-28 14:37     ` Stian Jordet

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=20030527185104.GB27916@parcelfarce.linux.theplanet.co.uk \
    --to=viro@parcelfarce.linux.theplanet.co.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.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

all inboxes | Powered by JetHome®