Skip to contentSkip to conversation

s390/dasd: fix build warning in dasd_eckd_build_cp_raw

PATCH Applied Ming Lei 3 participants 3 messages May 9, 2019

Subsystems (3)
lore
Share & tools
lore

Ming Lei

author
#0 lore raw

PATCH 1/1 s390/dasd: fix build warning in dasd_eckd_build_cp_raw

Commit 72deb455b5ec619f ("block: remove CONFIG_LBDAF") changes sector_t to u64 unconditionaly, so apply '%llu' for print sector_t variable.

Fixes 72deb455b5ec619f ("block: remove CONFIG_LBDAF")
Cc Christoph Hellwig <[email protected]>
---
 drivers/s390/block/dasd_eckd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/s390/block/dasd_eckd.c +1 -1
index f89f9d02e788..c09039eea707 100644
@@ -3827,7 +3827,7 @@ static struct dasd_ccw_req *dasd_eckd_build_cp_raw(struct dasd_device *startdev,
 	if ((start_padding_sectors || end_padding_sectors) &&
 	    (rq_data_dir(req) == WRITE)) {
 		DBF_DEV_EVENT(DBF_ERR, basedev,
-			      "raw write not track aligned (%lu,%lu) req %p",
+			      "raw write not track aligned (%llu,%llu) req %p",
 			      start_padding_sectors, end_padding_sectors, req);
 		return ERR_PTR(-EINVAL);
 	}
Signature · 1 line
2.9.5
maintainer Applied
#2 lore raw
In reply to Ming Lei
Quoted 3 lines · Ming Lei

Commit 72deb455b5ec619f ("block: remove CONFIG_LBDAF") changes sector_t to u64 unconditionaly, so apply '%llu' for print sector_t variable.

Applied, thanks Ming.

Signature · 1 line
Jens Axboe