diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2013-03-02 15:25:54 +1100 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-03-07 14:27:27 +1100 |
commit | 20e5da3ddcd3cb405949085f5cf607f06f858769 (patch) | |
tree | be0230a6fbaf69005a142830eabe229714671ae6 /fs | |
parent | 8d97fa92417aca7a64837ea7e8213e9b02aa4ab5 (diff) |
block-aio-batch-completion-for-bios-kiocbs-fix
fs/aio.c: In function 'kioctx_ring_put':
fs/aio.c:636: warning: cast from pointer to integer of different size
Cc: Kent Overstreet <koverstreet@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/aio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -646,7 +646,7 @@ static inline unsigned kioctx_ring_put(struct kioctx *ctx, struct kiocb *req, ev_page = kmap_atomic(ctx->ring_pages[pos / AIO_EVENTS_PER_PAGE]); event = ev_page + pos % AIO_EVENTS_PER_PAGE; - event->obj = (u64) req->ki_obj.user; + event->obj = (u64)(unsigned long)req->ki_obj.user; event->data = req->ki_user_data; event->res = req->ki_res; event->res2 = req->ki_res2; |