All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pete Zaitcev <zaitcev@redhat.com>
To: dag@brattli.net
Cc: linux-kernel@vger.kernel.org
Subject: IrDA gcc warnings in 2.4.8-ac9
Date: Wed, 22 Aug 2001 17:08:33 -0400	[thread overview]
Message-ID: <20010822170833.A26433@devserv.devel.redhat.com> (raw)

In case anyone cares about such minor things as warnings...

--- linux-2.4.8-ac9/init/main.c	Wed Aug 22 11:02:12 2001
+++ linux-2.4.8-ac9-niph/init/main.c	Wed Aug 22 12:09:23 2001
@@ -67,6 +67,7 @@
 
 #ifdef CONFIG_IRDA
 #include <net/irda/irda_device.h>
+extern int irda_proto_init(void);
 #endif
 
 #ifdef CONFIG_X86_LOCAL_APIC
--- linux-2.4.8-ac9/net/irda/irda_device.c	Wed Apr 18 14:40:07 2001
+++ linux-2.4.8-ac9-niph/net/irda/irda_device.c	Wed Aug 22 12:11:47 2001
@@ -457,15 +457,17 @@
 dongle_t *irda_device_dongle_init(struct net_device *dev, int type)
 {
 	struct dongle_reg *reg;
-	char modname[32];
 	dongle_t *dongle;
 
 	ASSERT(dev != NULL, return NULL;);
 
 #ifdef CONFIG_KMOD
+	{
+	char modname[32];
 	/* Try to load the module needed */
 	sprintf(modname, "irda-dongle-%d", type);
 	request_module(modname);
+	}
 #endif /* CONFIG_KMOD */
 
 	if (!(reg = hashbin_find(dongles, type, NULL))) {


                 reply	other threads:[~2001-08-22 21:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20010822170833.A26433@devserv.devel.redhat.com \
    --to=zaitcev@redhat.com \
    --cc=dag@brattli.net \
    --cc=linux-kernel@vger.kernel.org \
    /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 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.