Skip to content

Commit

Permalink
[PATCH] pr_debug: aio: use size_t length modifier in pr_debug format …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Zach Brown authored and Linus Torvalds committed Oct 3, 2006
1 parent 3a0f5bb commit 691578c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/aio.c
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ static ssize_t aio_run_iocb(struct kiocb *iocb)
}

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

Expand Down Expand Up @@ -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("%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);
put_rq:
/* everything turned out well, dispose of the aiocb. */
Expand Down

0 comments on commit 691578c

Please sign in to comment.