diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2010-08-13 04:06:38 -0400 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2010-08-13 04:06:54 -0400 |
commit | 625c94df22fb4247c8ccd54635a8ec77cb60d651 (patch) | |
tree | 1641e24f21b2a89a718244957c25701e3fc2a242 /drivers/s390 | |
parent | 320b2b8de12698082609ebbc1a17165727f4c893 (diff) |
[S390] dasd: fix format string types
Get rid of these warnings:
drivers/s390/block/dasd.c: In function '__dasd_device_check_expire':
drivers/s390/block/dasd.c:1330: warning: format '%i' expects type 'int', but argument 4 has type 'long unsigned int'
drivers/s390/block/dasd.c:1337: warning: format '%i' expects type 'int', but argument 4 has type 'long unsigned int'
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/block/dasd.c b/drivers/s390/block/dasd.c index 1a84fae155e1..8373ca0de8e0 100644 --- a/drivers/s390/block/dasd.c +++ b/drivers/s390/block/dasd.c | |||
@@ -1325,14 +1325,14 @@ static void __dasd_device_check_expire(struct dasd_device *device) | |||
1325 | if (device->discipline->term_IO(cqr) != 0) { | 1325 | if (device->discipline->term_IO(cqr) != 0) { |
1326 | /* Hmpf, try again in 5 sec */ | 1326 | /* Hmpf, try again in 5 sec */ |
1327 | dev_err(&device->cdev->dev, | 1327 | dev_err(&device->cdev->dev, |
1328 | "cqr %p timed out (%is) but cannot be " | 1328 | "cqr %p timed out (%lus) but cannot be " |
1329 | "ended, retrying in 5 s\n", | 1329 | "ended, retrying in 5 s\n", |
1330 | cqr, (cqr->expires/HZ)); | 1330 | cqr, (cqr->expires/HZ)); |
1331 | cqr->expires += 5*HZ; | 1331 | cqr->expires += 5*HZ; |
1332 | dasd_device_set_timer(device, 5*HZ); | 1332 | dasd_device_set_timer(device, 5*HZ); |
1333 | } else { | 1333 | } else { |
1334 | dev_err(&device->cdev->dev, | 1334 | dev_err(&device->cdev->dev, |
1335 | "cqr %p timed out (%is), %i retries " | 1335 | "cqr %p timed out (%lus), %i retries " |
1336 | "remaining\n", cqr, (cqr->expires/HZ), | 1336 | "remaining\n", cqr, (cqr->expires/HZ), |
1337 | cqr->retries); | 1337 | cqr->retries); |
1338 | } | 1338 | } |