mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-23 00:11:19 +07:00
s390/dasd: replace PTR_RET with PTR_ERR_OR_ZERO
PTR_RET is deprecated, use PTR_ERR_OR_ZERO instead. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
9c705206d0
commit
757853ea19
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user