Re: 2.4.0-test9-pre8

Jeff Garzik (jgarzik@mandrakesoft.mandrakesoft.com)
Mon, 2 Oct 2000 10:26:20 -0500 (CDT)


On Mon, 2 Oct 2000, David Weinehall wrote:

> Warnings on build with v2.4.0test9pre8 (with Rik van Riel's extra fixes):
>
> parport_pc.c:2283: warning: `parport_pc_superio_info' defined but not used

.config dependent I think.

> sg.c: In function `exit_sg':
> sg.c:1321: warning: implicit declaration of function `sg_proc_cleanup'

This is definitely wrong...

--- linux-2.4.0test9pre8rielvmpatch/drivers/scsi/sg.c.old Mon Oct 2
17:11:11 2000
+++ linux-2.4.0test9pre8rielvmpatch/drivers/scsi/sg.c Mon Oct 2 17:12:18
2000
@@ -1318,7 +1318,9 @@
static void __exit exit_sg( void)
{
#ifdef CONFIG_PROC_FS
+#ifdef MODULE
sg_proc_cleanup();
+#endif /* MODULE */
#endif /* CONFIG_PROC_FS */
scsi_unregister_module(MODULE_SCSI_DEV, &sg_template);
devfs_unregister_chrdev(SCSI_GENERIC_MAJOR, "sg");

[ Part 3: "Attached Text" ]

-
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/