Skip to content

Commit e78c21d

Browse files
Ming Leiaxboe
authored andcommitted
s390/dasd: fix build warning in dasd_eckd_build_cp_raw
Commit 72deb45 ("block: remove CONFIG_LBDAF") changes sector_t to u64 unconditionaly, so apply '%llu' for print sector_t variable. Fixes: 72deb45 ("block: remove CONFIG_LBDAF") Cc: [email protected] Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Ming Lei <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 45c5fcb commit e78c21d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/s390/block/dasd_eckd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3827,7 +3827,7 @@ static struct dasd_ccw_req *dasd_eckd_build_cp_raw(struct dasd_device *startdev,
38273827
if ((start_padding_sectors || end_padding_sectors) &&
38283828
(rq_data_dir(req) == WRITE)) {
38293829
DBF_DEV_EVENT(DBF_ERR, basedev,
3830-
"raw write not track aligned (%lu,%lu) req %p",
3830+
"raw write not track aligned (%llu,%llu) req %p",
38313831
start_padding_sectors, end_padding_sectors, req);
38323832
return ERR_PTR(-EINVAL);
38333833
}

0 commit comments

Comments
 (0)