lkml.org 
[lkml]   [2003]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: [BUG 2.5.56] IDE/CDROM Oops at boot time without /proc
Date
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.056 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site