Commit 625c94df authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky

[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: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 320b2b8d
...@@ -1325,14 +1325,14 @@ static void __dasd_device_check_expire(struct dasd_device *device) ...@@ -1325,14 +1325,14 @@ static void __dasd_device_check_expire(struct dasd_device *device)
if (device->discipline->term_IO(cqr) != 0) { if (device->discipline->term_IO(cqr) != 0) {
/* Hmpf, try again in 5 sec */ /* Hmpf, try again in 5 sec */
dev_err(&device->cdev->dev, dev_err(&device->cdev->dev,
"cqr %p timed out (%is) but cannot be " "cqr %p timed out (%lus) but cannot be "
"ended, retrying in 5 s\n", "ended, retrying in 5 s\n",
cqr, (cqr->expires/HZ)); cqr, (cqr->expires/HZ));
cqr->expires += 5*HZ; cqr->expires += 5*HZ;
dasd_device_set_timer(device, 5*HZ); dasd_device_set_timer(device, 5*HZ);
} else { } else {
dev_err(&device->cdev->dev, dev_err(&device->cdev->dev,
"cqr %p timed out (%is), %i retries " "cqr %p timed out (%lus), %i retries "
"remaining\n", cqr, (cqr->expires/HZ), "remaining\n", cqr, (cqr->expires/HZ),
cqr->retries); cqr->retries);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment