Commit 691578cd authored by Zach Brown's avatar Zach Brown Committed by Linus Torvalds

[PATCH] pr_debug: aio: use size_t length modifier in pr_debug format arguments

aio: use size_t length modifier in pr_debug format arguments
Signed-off-by: default avatarZach Brown <zach.brown@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 3a0f5bbb
...@@ -675,7 +675,7 @@ static ssize_t aio_run_iocb(struct kiocb *iocb) ...@@ -675,7 +675,7 @@ static ssize_t aio_run_iocb(struct kiocb *iocb)
} }
if (!(iocb->ki_retried & 0xff)) { if (!(iocb->ki_retried & 0xff)) {
pr_debug("%ld retry: %d of %d\n", iocb->ki_retried, pr_debug("%ld retry: %zd of %zd\n", iocb->ki_retried,
iocb->ki_nbytes - iocb->ki_left, iocb->ki_nbytes); iocb->ki_nbytes - iocb->ki_left, iocb->ki_nbytes);
} }
...@@ -1008,7 +1008,7 @@ int fastcall aio_complete(struct kiocb *iocb, long res, long res2) ...@@ -1008,7 +1008,7 @@ int fastcall aio_complete(struct kiocb *iocb, long res, long res2)
pr_debug("added to ring %p at [%lu]\n", iocb, tail); pr_debug("added to ring %p at [%lu]\n", iocb, tail);
pr_debug("%ld retries: %d of %d\n", iocb->ki_retried, pr_debug("%ld retries: %zd of %zd\n", iocb->ki_retried,
iocb->ki_nbytes - iocb->ki_left, iocb->ki_nbytes); iocb->ki_nbytes - iocb->ki_left, iocb->ki_nbytes);
put_rq: put_rq:
/* everything turned out well, dispose of the aiocb. */ /* everything turned out well, dispose of the aiocb. */
......
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