mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-19 11:43:40 +00:00
[S390] dasd: get rid of compile warning
Get rid of this: drivers/s390/block/dasd_eckd.c: In function 'dasd_eckd_build_cp_tpm_track.clone.8': drivers/s390/block/dasd_eckd.c:2589:34: warning: 'len_to_track_end' may be used uninitialized in this function Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
parent
ee5894fb0f
commit
d54cddb620
@ -2648,6 +2648,7 @@ static struct dasd_ccw_req *dasd_eckd_build_cp_tpm_track(
|
|||||||
dasd_sfree_request(cqr, startdev);
|
dasd_sfree_request(cqr, startdev);
|
||||||
return ERR_PTR(-EAGAIN);
|
return ERR_PTR(-EAGAIN);
|
||||||
}
|
}
|
||||||
|
len_to_track_end = 0;
|
||||||
/*
|
/*
|
||||||
* A tidaw can address 4k of memory, but must not cross page boundaries
|
* A tidaw can address 4k of memory, but must not cross page boundaries
|
||||||
* We can let the block layer handle this by setting
|
* We can let the block layer handle this by setting
|
||||||
|
Loading…
x
Reference in New Issue
Block a user