s390/scm_blk: fix error return code in scm_blk_init()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 20 Mar 2013 12:40:54 +0000 (13:40 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 21 Mar 2013 12:35:38 +0000 (13:35 +0100)
commit94f9852de86447088e8e3c12d8b5a8f996acee32
treef0d6af4c34f51b52ce112b6adc1aee534bcbaa2c
parent3bff6038f1938d2541943dfde604a9b92f347650
s390/scm_blk: fix error return code in scm_blk_init()

Fix to return a negative error code from the error handling
case instead of 0, as returned elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/block/scm_blk.c