diff options
author | Zach Brown <zach.brown@oracle.com> | 2006-10-03 04:16:04 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-03 11:04:19 -0400 |
commit | 691578cd558e647dd89ae5bc74a2307bce821186 (patch) | |
tree | dcb4d7a06e46688cc7e3d5be064fec8a4e65dc6b /fs | |
parent | 3a0f5bbb1a36ed113065099d3dc69a66e1c8d567 (diff) |
[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: Zach Brown <zach.brown@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/aio.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -675,7 +675,7 @@ static ssize_t aio_run_iocb(struct kiocb *iocb) | |||
675 | } | 675 | } |
676 | 676 | ||
677 | if (!(iocb->ki_retried & 0xff)) { | 677 | if (!(iocb->ki_retried & 0xff)) { |
678 | pr_debug("%ld retry: %d of %d\n", iocb->ki_retried, | 678 | pr_debug("%ld retry: %zd of %zd\n", iocb->ki_retried, |
679 | iocb->ki_nbytes - iocb->ki_left, iocb->ki_nbytes); | 679 | iocb->ki_nbytes - iocb->ki_left, iocb->ki_nbytes); |
680 | } | 680 | } |
681 | 681 | ||
@@ -1008,7 +1008,7 @@ int fastcall aio_complete(struct kiocb *iocb, long res, long res2) | |||
1008 | 1008 | ||
1009 | pr_debug("added to ring %p at [%lu]\n", iocb, tail); | 1009 | pr_debug("added to ring %p at [%lu]\n", iocb, tail); |
1010 | 1010 | ||
1011 | pr_debug("%ld retries: %d of %d\n", iocb->ki_retried, | 1011 | pr_debug("%ld retries: %zd of %zd\n", iocb->ki_retried, |
1012 | iocb->ki_nbytes - iocb->ki_left, iocb->ki_nbytes); | 1012 | iocb->ki_nbytes - iocb->ki_left, iocb->ki_nbytes); |
1013 | put_rq: | 1013 | put_rq: |
1014 | /* everything turned out well, dispose of the aiocb. */ | 1014 | /* everything turned out well, dispose of the aiocb. */ |