patch-2.4.0-test5 linux/drivers/net/hamradio/dmascc.c

Next file: linux/drivers/net/hamradio/soundmodem/sm_sbc.c
Previous file: linux/drivers/net/gmac.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/drivers/net/hamradio/dmascc.c linux/drivers/net/hamradio/dmascc.c
@@ -337,7 +337,7 @@
 
     /* Free memory */
     first = info->next;
-    kfree_s(info, sizeof(struct scc_info));
+    kfree(info);
   }
 }
 
@@ -545,7 +545,7 @@
   if (irq <= 0) {
     printk("dmascc: could not find irq of %s at %#3x (irq=%d)\n",
 	   hw[type].name, card_base, irq);
-    kfree_s(info, sizeof(struct scc_info));
+    kfree(info);
     return -1;
   }
 

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