All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH-2.5] Compile fix for net/llc
@ 2002-10-14 17:34 Anton Altaparmakov
  2002-10-14 18:21 ` Petr Vandrovec
  2002-10-14 20:11 ` Arnaldo Carvalho de Melo
  0 siblings, 2 replies; 3+ messages in thread
From: Anton Altaparmakov @ 2002-10-14 17:34 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux Kernel, acme

Linus,

I needed the below patchlet to complete compilation of net/llc in your
current bk tree.

Best regards,

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH-2.5] Compile fix for net/llc
  2002-10-14 17:34 [PATCH-2.5] Compile fix for net/llc Anton Altaparmakov
@ 2002-10-14 18:21 ` Petr Vandrovec
  2002-10-14 20:11 ` Arnaldo Carvalho de Melo
  1 sibling, 0 replies; 3+ messages in thread
From: Petr Vandrovec @ 2002-10-14 18:21 UTC (permalink / raw)
  To: Anton Altaparmakov; +Cc: Linus Torvalds, Linux Kernel, acme

On Mon, Oct 14, 2002 at 06:34:40PM +0100, Anton Altaparmakov wrote:
> 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:

diff -urdN linux/drivers/media/video/bttv-driver.c linux/drivers/media/video/bttv-driver.c
--- linux/drivers/media/video/bttv-driver.c	2002-10-14 13:51:01.000000000 +0000
+++ linux/drivers/media/video/bttv-driver.c	2002-10-14 14:08:55.000000000 +0000
@@ -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.

diff -urdN linux/drivers/media/video/bttv-driver.c linux/drivers/media/video/bttv-driver.c
--- linux/drivers/media/video/bttv-driver.c	2002-10-14 13:51:01.000000000 +0000
+++ linux/drivers/media/video/bttv-driver.c	2002-10-14 14:08:55.000000000 +0000
@@ -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");
 
 
> Best regards,
> 
> 	Anton
> -- 
> 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 */
> -
> 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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH-2.5] Compile fix for net/llc
  2002-10-14 17:34 [PATCH-2.5] Compile fix for net/llc Anton Altaparmakov
  2002-10-14 18:21 ` Petr Vandrovec
@ 2002-10-14 20:11 ` Arnaldo Carvalho de Melo
  1 sibling, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2002-10-14 20:11 UTC (permalink / raw)
  To: Anton Altaparmakov; +Cc: Linus Torvalds, Linux Kernel

Em Mon, Oct 14, 2002 at 06:34:40PM +0100, Anton Altaparmakov escreveu:
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-14 20:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-14 17:34 [PATCH-2.5] Compile fix for net/llc Anton Altaparmakov
2002-10-14 18:21 ` Petr Vandrovec
2002-10-14 20:11 ` Arnaldo Carvalho de Melo

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.