summaryrefslogtreecommitdiffstats
path: root/drivers/s390/block
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2019-05-09 18:03:14 +0800
committerJens Axboe <axboe@kernel.dk>2019-05-09 08:10:21 -0600
commite78c21d157f2f0278696f5903713133e83ac47c6 (patch)
treef87ede7a5310e0be72c840fd5295d7b49f5ba9f0 /drivers/s390/block
parent45c5fcbb73416f367100a4bccd116fd2752e5940 (diff)
downloadblackbird-op-linux-e78c21d157f2f0278696f5903713133e83ac47c6.tar.gz
blackbird-op-linux-e78c21d157f2f0278696f5903713133e83ac47c6.zip
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: linux-s390@vger.kernel.org Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/s390/block')
-rw-r--r--drivers/s390/block/dasd_eckd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/block/dasd_eckd.c b/drivers/s390/block/dasd_eckd.c
index f89f9d02e788..c09039eea707 100644
--- a/drivers/s390/block/dasd_eckd.c
+++ b/drivers/s390/block/dasd_eckd.c
@@ -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);
}
OpenPOWER on IntegriCloud