lkml.org 
[lkml]   [1996]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject2.1.16, patch for compilation error in 3c523
Date

Trying to compile a kernel with every legal option turned on.
Compilation errors in 3c523.c when compiled as a module and module_versions
are on plus one warning. Patch follows

diff -ur linux-2.1.16.orig/drivers/net/3c523.c linux/drivers/net/3c523.c
--- linux-2.1.16.orig/drivers/net/3c523.c Fri Dec 13 01:51:09 1996
+++ linux/drivers/net/3c523.c Sun Dec 22 15:52:46 1996
@@ -1144,7 +1144,7 @@
return 0;
}
if(skb->len > XMIT_BUFF_SIZE) {
- printk("%s: Sorry, max. framelength is %d bytes. The length of your frame is %ld bytes.\n",dev->name,XMIT_BUFF_SIZE,skb->len);
+ printk("%s: Sorry, max. framelength is %d bytes. The length of your frame is %d bytes.\n",dev->name,XMIT_BUFF_SIZE,skb->len);
return 0;
}

@@ -1267,7 +1267,6 @@
/*************************************************************************/

#ifdef MODULE
-char kernel_version[] = UTS_RELEASE;
static struct device dev_elmc = {
" " /*"3c523"*/, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, elmc_probe };




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