mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04: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 <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
This commit is contained in:
parent
9c705206d0
commit
757853ea19
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue