patch-2.4.2 linux/net/802/llc_macinit.c

Next file: linux/net/802/llc_sendpdu.c
Previous file: linux/net/802/cl2llc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.1/linux/net/802/llc_macinit.c linux/net/802/llc_macinit.c
@@ -24,7 +24,7 @@
 #include <linux/module.h>
 #include <linux/version.h>
 #include <linux/kernel.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
 #include <linux/unistd.h>
 #include <linux/string.h>
 #include <linux/netdevice.h>
@@ -125,7 +125,7 @@
 				free=0;
 				break;
 
-			default:
+			default:;
 				/*
 				 *	All other type 1 pdus ignored for now
 				 */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)