From: Petr Vandrovec <vandrove@vc.cvut.cz>
To: Anton Altaparmakov <aia21@cantab.net>
Cc: Linus Torvalds <torvalds@transmeta.com>,
Linux Kernel <linux-kernel@vger.kernel.org>,
acme@conectiva.com.br
Subject: Re: [PATCH-2.5] Compile fix for net/llc
Date: Mon, 14 Oct 2002 20:21:17 +0200 [thread overview]
Message-ID: <20021014182117.GA16629@vana.vc.cvut.cz> (raw)
In-Reply-To: <E181972-00029d-00@storm.christs.cam.ac.uk>
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/
next prev parent reply other threads:[~2002-10-14 18:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-14 17:34 Anton Altaparmakov
2002-10-14 18:21 ` Petr Vandrovec [this message]
2002-10-14 20:11 ` Arnaldo Carvalho de Melo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021014182117.GA16629@vana.vc.cvut.cz \
--to=vandrove@vc.cvut.cz \
--cc=acme@conectiva.com.br \
--cc=aia21@cantab.net \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®