]> err.no Git - linux-2.6/commit
[S390] cio: Correct cleanup on error.
authorCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 9 Sep 2008 10:38:57 +0000 (12:38 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 9 Sep 2008 10:39:07 +0000 (12:39 +0200)
commita2164b8174f13b7315c3f45c0b48dec619285096
treed3e943b5c8be1d999331879c002b9c26081c48fe
parent3d6e48f43340343d97839eadb1ab7b6a3ea98797
[S390] cio: Correct cleanup on error.

Fix cleanup on error in chp_new() and init_channel_subsystem()
(must not call kfree() on structures that had been registered).

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/chp.c
drivers/s390/cio/css.c