[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>
This commit is contained in:
Sebastian Ott 2009-09-22 22:58:36 +02:00 коммит произвёл Martin Schwidefsky
Родитель 8ea7f55901
Коммит b827d1c8b6
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -971,7 +971,7 @@ out_bus:
out:
crw_unregister_handler(CRW_RSC_CSS);
chsc_free_sei_area();
kfree(slow_subchannel_set);
idset_free(slow_subchannel_set);
pr_alert("The CSS device driver initialization failed with "
"errno=%d\n", ret);
return ret;
@ -993,7 +993,7 @@ static void __init css_bus_cleanup(void)
bus_unregister(&css_bus_type);
crw_unregister_handler(CRW_RSC_CSS);
chsc_free_sei_area();
kfree(slow_subchannel_set);
idset_free(slow_subchannel_set);
isc_unregister(IO_SCH_ISC);
}