[patch] modutils 2.3.22 and kernel 2.4.0-test12-pre7 (sans-word-wrap)

From: Gerard Sharp (gsharp@ihug.co.nz)
Date: Sun Dec 10 2000 - 06:54:12 EST


My mail client thought it would be amusing to wrap my text at 80
columns.
Useful at times, I'll give it that; but it chewed on my patch a little.

Reasoning / excuses in my earlier post with the similar subject line...

Good Night and Happy Hacking
Gerard Sharp
Two Penguins at 1024x768

#diff -dur linux-2.4.0-test12-clean linux-2.4.0-test12-fixed
diff -dur linux-2.4.0-test12-clean/drivers/net/8139too.c linux-2.4.0-test12-fixed/drivers/net/8139too.c
--- linux-2.4.0-test12-clean/drivers/net/8139too.c Sun Dec 10 12:55:42 2000
+++ linux-2.4.0-test12-fixed/drivers/net/8139too.c Sun Dec 10 14:45:20 2000
@@ -74,6 +74,8 @@

                Tobias Ringström - Rx interrupt status checking suggestion

+ Gerard Sharp - bug fix for MODULE_PARM
+
        Submitting bug reports:

                "rtl8139-diag -mmmaaavvveefN" output
@@ -536,7 +538,9 @@
 MODULE_DESCRIPTION ("RealTek RTL-8139 Fast Ethernet driver");
 MODULE_PARM (multicast_filter_limit, "i");
 MODULE_PARM (max_interrupt_work, "i");
+#ifdef RTL8139_DEBUG
 MODULE_PARM (debug, "i");
+#endif /*RTL8139_DEBUG*/
 MODULE_PARM (media, "1-" __MODULE_STRING(8) "i");

 static int read_eeprom (void *ioaddr, int location, int addr_len);
diff -dur linux-2.4.0-test12-clean/fs/ntfs/fs.c linux-2.4.0-test12-fixed/fs/ntfs/fs.c
--- linux-2.4.0-test12-clean/fs/ntfs/fs.c Sun Dec 10 12:55:47 2000
+++ linux-2.4.0-test12-fixed/fs/ntfs/fs.c Sun Dec 10 14:43:35 2000
@@ -963,9 +963,10 @@
 EXPORT_NO_SYMBOLS;
 MODULE_AUTHOR("Martin von Löwis");
 MODULE_DESCRIPTION("NTFS driver");
+#ifdef DEBUG
 MODULE_PARM(ntdebug, "i");
 MODULE_PARM_DESC(ntdebug, "Debug level");
-
+#endif /*DEBUG*/
+
 module_init(init_ntfs_fs)
 module_exit(exit_ntfs_fs)
 /*

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



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:19 EST