linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] s390/dasd: fix build warning in dasd_eckd_build_cp_raw
@ 2019-05-09 10:03 Ming Lei
  2019-05-09 12:32 ` Christoph Hellwig
  2019-05-09 14:10 ` Jens Axboe
  0 siblings, 2 replies; 3+ messages in thread
From: Ming Lei @ 2019-05-09 10:03 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block, Ming Lei, Christoph Hellwig, linux-s390

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 <hch@lst.de>
Cc: linux-s390@vger.kernel.org
Signed-off-by: Ming Lei <ming.lei@redhat.com>
---
 drivers/s390/block/dasd_eckd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
 	}
-- 
2.9.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] s390/dasd: fix build warning in dasd_eckd_build_cp_raw
  2019-05-09 10:03 [PATCH] s390/dasd: fix build warning in dasd_eckd_build_cp_raw Ming Lei
@ 2019-05-09 12:32 ` Christoph Hellwig
  2019-05-09 14:10 ` Jens Axboe
  1 sibling, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2019-05-09 12:32 UTC (permalink / raw)
  To: Ming Lei; +Cc: Jens Axboe, linux-block, Christoph Hellwig, linux-s390

Looks fine,

Reviewed-by: Christoph Hellwig <hch@lst.de>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] s390/dasd: fix build warning in dasd_eckd_build_cp_raw
  2019-05-09 10:03 [PATCH] s390/dasd: fix build warning in dasd_eckd_build_cp_raw Ming Lei
  2019-05-09 12:32 ` Christoph Hellwig
@ 2019-05-09 14:10 ` Jens Axboe
  1 sibling, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2019-05-09 14:10 UTC (permalink / raw)
  To: Ming Lei; +Cc: linux-block, Christoph Hellwig, linux-s390

On 5/9/19 4:03 AM, Ming Lei wrote:
> Commit 72deb455b5ec619f ("block: remove CONFIG_LBDAF") changes
> sector_t to u64 unconditionaly, so apply '%llu' for print
> sector_t variable.

Applied, thanks Ming.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-09 14:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-09 10:03 [PATCH] s390/dasd: fix build warning in dasd_eckd_build_cp_raw Ming Lei
2019-05-09 12:32 ` Christoph Hellwig
2019-05-09 14:10 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).