s390/dasd: Cocci spatch "ptr_ret.spatch"

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
Thomas Meyer 2013-06-01 11:52:16 +02:00 committed by Martin Schwidefsky
parent ba8da2138e
commit 82a7b95577

View File

@ -2968,7 +2968,7 @@ static int prepare_itcw(struct itcw *itcw,
dcw = itcw_add_dcw(itcw, pfx_cmd, 0, dcw = itcw_add_dcw(itcw, pfx_cmd, 0,
&pfxdata, sizeof(pfxdata), total_data_size); &pfxdata, sizeof(pfxdata), total_data_size);
return IS_ERR(dcw) ? PTR_ERR(dcw) : 0; return PTR_RET(dcw);
} }
static struct dasd_ccw_req *dasd_eckd_build_cp_tpm_track( static struct dasd_ccw_req *dasd_eckd_build_cp_tpm_track(