lkml.org 
[lkml]   [2001]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectIrDA gcc warnings in 2.4.8-ac9
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))) {
-
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/

\
 
 \ /
  Last update: 2005-03-22 12:58    [W:0.029 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site