[Prism54-devel] [patch]: fix compilation errors in cvs

Stephen Leonard stephen at phynp6.phy-astr.gsu.edu
Fri Nov 5 18:07:57 UTC 2004


Hello

I needed the following patch to fix compilation errors in todays cvs.

stephen


diff -Naur prism54-ng.orig/ksrc/islpci_eth.c prism54-ng.dev/ksrc/islpci_eth.c
--- prism54-ng.orig/ksrc/islpci_eth.c	2004-11-05 09:47:57.000000000 -0500
+++ prism54-ng.dev/ksrc/islpci_eth.c	2004-11-05 12:47:51.000000000 -0500
@@ -409,7 +409,7 @@
 		memmove(skb->data, src, skb->len - 6);
 		skb_trim(skb, skb->len - 6);
 	}
-#ifdef
+#endif
 
 #if VERBOSE > SHOW_ERROR_MESSAGES
 	DEBUG(SHOW_TRACING, "Fragment size %i in skb at %p\n", size, skb);
diff -Naur prism54-ng.orig/ksrc/islpci_mgt.c prism54-ng.dev/ksrc/islpci_mgt.c
--- prism54-ng.orig/ksrc/islpci_mgt.c	2004-11-05 09:47:57.000000000 -0500
+++ prism54-ng.dev/ksrc/islpci_mgt.c	2004-11-05 12:48:34.000000000 -0500
@@ -122,7 +122,7 @@
 
 		if (buf->skb == NULL) {
 			buf->skb = alloc_skb(MGMT_FRAME_SIZE+2, GFP_ATOMIC);
-			if (!buf->skb) 
+			if (!buf->skb) {
 				printk(KERN_WARNING
 				       "Error allocating management frame.\n");
 				return -ENOMEM;


More information about the Prism54-devel mailing list