diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2011-03-15 17:08:21 +0100 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-03-15 17:08:22 +0100 |
commit | d54cddb620fa493968111f479029dcd910fcb921 (patch) | |
tree | c448ba8da77a7fd47cef03bf6ec7e71c24d22ad1 /drivers/s390 | |
parent | ee5894fb0f128476dc9afb2ed50cab1427dfe0c3 (diff) | |
download | op-kernel-dev-d54cddb620fa493968111f479029dcd910fcb921.zip op-kernel-dev-d54cddb620fa493968111f479029dcd910fcb921.tar.gz |
[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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c index a9fe23d..379d859 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( dasd_sfree_request(cqr, startdev); return ERR_PTR(-EAGAIN); } + len_to_track_end = 0; /* * A tidaw can address 4k of memory, but must not cross page boundaries * We can let the block layer handle this by setting |