s390/hmcdrv: free memory on error path
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Mon, 19 Jan 2015 22:02:00 +0000 (23:02 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 22 Jan 2015 11:16:11 +0000 (12:16 +0100)
commit2ec504934e43e6c47dfdd4436ca58b36f1ab3218
tree3ff61b46b5a25b6c43d804c9c9caabf8959d990b
parent93568d6fc509923db204320062b1883bc9962b0d
s390/hmcdrv: free memory on error path

Free allocated page in case of error returned by hmcdrv_ftp_startup.

[heiko.carstens@de.ibm.com]: slightly changed Christophe's patch

Signed-off-by: Christophe Jaillet <christophe.jaillet@wanadoo.fr>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/hmcdrv_ftp.c