aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2009-09-22 16:58:36 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-09-22 16:58:42 -0400
commitb827d1c8b65b27a293433e7c4723c7dfd6c4b848 (patch)
tree5b1eda7bf0a9f87be567a68f59a3e79c8fe9aaa3 /drivers/s390
parent8ea7f5590142c0b9ab319aa3cae85cf430a207d8 (diff)
[S390] cio: dont kfree vmalloced memory
Don't use kfree to free memory allocated by vmalloc. Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/cio/css.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c
index f018835afdf4..b43f769d445e 100644
--- a/drivers/s390/cio/css.c
+++ b/drivers/s390/cio/css.c
@@ -971,7 +971,7 @@ out_bus:
971out: 971out:
972 crw_unregister_handler(CRW_RSC_CSS); 972 crw_unregister_handler(CRW_RSC_CSS);
973 chsc_free_sei_area(); 973 chsc_free_sei_area();
974 kfree(slow_subchannel_set); 974 idset_free(slow_subchannel_set);
975 pr_alert("The CSS device driver initialization failed with " 975 pr_alert("The CSS device driver initialization failed with "
976 "errno=%d\n", ret); 976 "errno=%d\n", ret);
977 return ret; 977 return ret;
@@ -993,7 +993,7 @@ static void __init css_bus_cleanup(void)
993 bus_unregister(&css_bus_type); 993 bus_unregister(&css_bus_type);
994 crw_unregister_handler(CRW_RSC_CSS); 994 crw_unregister_handler(CRW_RSC_CSS);
995 chsc_free_sei_area(); 995 chsc_free_sei_area();
996 kfree(slow_subchannel_set); 996 idset_free(slow_subchannel_set);
997 isc_unregister(IO_SCH_ISC); 997 isc_unregister(IO_SCH_ISC);
998} 998}
999 999