Messages in this thread Patch in this message | | | From | Keith Owens <> | Subject | 2.1.16, patch for compilation error in 3c523 | Date | Sun, 22 Dec 1996 16:04:57 +1100 |
| |
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 };
| |