Compile fix for net/llc
Linus,
I needed the below patchlet to complete compilation of net/llc in your current bk tree.
Best regards,
Anton
Signature · 24 lines
Anton Altaparmakov <aia21 at cantab.net> (replace at with @)
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/, http://www-stu.christs.cam.ac.uk/~aia21/
--- tng/net/llc/llc_proc.c.old 2002-10-14 18:29:25.000000000 +0100
+++ tng/net/llc/llc_proc.c 2002-10-14 18:29:15.000000000 +0100
@@ -258,7 +258,7 @@ out_socket:
goto out;
}
-void __exit llc_proc_exit(void)
+void llc_proc_exit(void)
{
remove_proc_entry("socket", llc_proc_dir);
remove_proc_entry("core", llc_proc_dir);
@@ -270,7 +270,7 @@ int __init llc_proc_init(void)
return 0;
}
-void __exit llc_proc_exit(void)
+void llc_proc_exit(void)
{
}
#endif /* CONFIG_PROC_FS */Quoted 4 lines · Anton Altaparmakov
Linus,
I needed the below patchlet to complete compilation of net/llc in your current bk tree.
What about adding #include <linux/init.h> ? bttv-driver.c has same problem:
drivers/media/video/bttv-driver.c +1 -0
@@ -32,6 +32,7 @@#include <linux/sched.h> #include <linux/interrupt.h> #include <linux/kdev_t.h> +#include <linux/init.h> #include <asm/io.h>
... and while I'm talking about bttv:
Change this debug printk() priority from default to debug. It should not be printed by default on system console.
drivers/media/video/bttv-driver.c +1 -1
@@ -812,7 +813,7 @@ i2c_mux = mux = (btv->audio &AUDIO_MUTE ) ?AUDIO_OFF : btv->audio;if (btv->opt_automute && !signal && !btv->radio_user) mux =AUDIO_OFF ; -printk ("bttv%d: amux: mode=%d audio=%d signal=%s mux=%d/%d irq=%s\n" , +printk (KERN_DEBUG "bttv%d: amux: mode=%d audio=%d signal=%s mux=%d/%d irq=%s\n" , btv->nr, mode, btv->audio, signal ?"yes" :"no" , mux, i2c_mux,in_interrupt () ?"yes" :"no" );
Quoted 33 lines
Best regards,
Anton
Signature · 3 lines
Anton Altaparmakov <aia21 at cantab.net> (replace at with @) Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net WWW: http://linux-ntfs.sf.net/, http://www-stu.christs.cam.ac.uk/~aia21/net/llc/llc_proc.c renamed from net/llc/llc_proc.c.old +2
-3@@ -258,7 +258,7 @@ out_socket: goto out; } -void __exit llc_proc_exit(void) +void llc_proc_exit (void ) {remove_proc_entry ("socket" , llc_proc_dir);remove_proc_entry ("core" , llc_proc_dir);@@ -270,7 +270,7 @@ int __init llc_proc_init(void) return 0; } -void __exit llc_proc_exit(void) +void llc_proc_exit (void ) { }#endif /* CONFIG_PROC_FS */ -To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Em Mon, Oct 14, 2002 at 06:34:40PM +0100, Anton Altaparmakov escreveu:
Quoted 4 lines
Linus,
I needed the below patchlet to complete compilation of net/llc in your current bk tree.
Thanks, Arjan already sent this one and its in DaveM's tree.
- Arnaldo