Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
d54cddb6 ee5894fb

+1
+1
drivers/s390/block/dasd_eckd.c
··· 2648 2648 dasd_sfree_request(cqr, startdev); 2649 2649 return ERR_PTR(-EAGAIN); 2650 2650 } 2651 + len_to_track_end = 0; 2651 2652 /* 2652 2653 * A tidaw can address 4k of memory, but must not cross page boundaries 2653 2654 * We can let the block layer handle this by setting