All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Paul Rolland" <rol@as2917.net>
To: "'Jens Axboe'" <axboe@suse.de>, <linux-kernel@vger.kernel.org>
Cc: "'Sam Ravnborg'" <sam@ravnborg.org>
Subject: Re: [BUG 2.5.56] IDE/CDROM Oops at boot time without /proc
Date: Sun, 12 Jan 2003 14:53:59 +0100	[thread overview]
Message-ID: <00a101c2ba42$0ed2d060$2101a8c0@witbe> (raw)
In-Reply-To: <20030112133700.GF14017@suse.de>

Hellon

> > Please note that, however, I've tested this change, and it is
> > working fine on my machine.
> 
> Thanks for the raport, the proposed change is fine with me. 
> Care to generate a real patch?
> 
Here it is :

4 [14:52] rol@donald:/kernels> diff -uN
linux-2.5.56/drivers/cdrom/cdrom.c
linux-2.5.56-work/drivers/cdrom/cdrom.c 
--- linux-2.5.56/drivers/cdrom/cdrom.c  2003-01-10 21:11:26.000000000
+0100
+++ linux-2.5.56-work/drivers/cdrom/cdrom.c     2003-01-12
14:30:55.000000000 +0100
@@ -2579,7 +2579,9 @@
                return;
 
        cdrom_sysctl_header = register_sysctl_table(cdrom_root_table,
1);
+#ifdef CONFIG_PROC_FS
        cdrom_root_table->child->de->owner = THIS_MODULE;
+#endif
 
        /* set the defaults */
        cdrom_sysctl_settings.autoclose = autoclose;

Regards,
Paul Rolland, rol@as2917.net


      reply	other threads:[~2003-01-12 13:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-12 13:33 [BUG 2.5.56] IDE/CDROM Oops at boot time without /proc Paul Rolland
2003-01-12 13:37 ` Jens Axboe
2003-01-12 13:53   ` Paul Rolland [this message]

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='00a101c2ba42$0ed2d060$2101a8c0@witbe' \
    --to=rol@as2917.net \
    --cc=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.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 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.