aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2011-03-15 12:08:21 -0400
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>2011-03-15 12:08:22 -0400
commitd54cddb620fa493968111f479029dcd910fcb921 (patch)
treec448ba8da77a7fd47cef03bf6ec7e71c24d22ad1 /drivers/s390
parentee5894fb0f128476dc9afb2ed50cab1427dfe0c3 (diff)
[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>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/block/dasd_eckd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c
index a9fe23d5bd0f..379d8592bc6e 100644
--- a/drivers/s390/block/dasd_eckd.c
+++ b/drivers/s390/block/dasd_eckd.c
@@ -2648,6 +2648,7 @@ static struct dasd_ccw_req *dasd_eckd_build_cp_tpm_track(
2648 dasd_sfree_request(cqr, startdev); 2648 dasd_sfree_request(cqr, startdev);
2649 return ERR_PTR(-EAGAIN); 2649 return ERR_PTR(-EAGAIN);
2650 } 2650 }
2651 len_to_track_end = 0;
2651 /* 2652 /*
2652 * A tidaw can address 4k of memory, but must not cross page boundaries 2653 * A tidaw can address 4k of memory, but must not cross page boundaries
2653 * We can let the block layer handle this by setting 2654 * We can let the block layer handle this by setting