Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 757853ea authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Martin Schwidefsky
Browse files

s390/dasd: replace PTR_RET with PTR_ERR_OR_ZERO



PTR_RET is deprecated, use PTR_ERR_OR_ZERO instead.

Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 9c705206
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3535,7 +3535,7 @@ static int prepare_itcw(struct itcw *itcw,

	dcw = itcw_add_dcw(itcw, pfx_cmd, 0,
		     &pfxdata, sizeof(pfxdata), total_data_size);
	return PTR_RET(dcw);
	return PTR_ERR_OR_ZERO(dcw);
}

static struct dasd_ccw_req *dasd_eckd_build_cp_tpm_track(