From 83fc495b0061a3be5a3106d047600ff5323206c3 Mon Sep 17 00:00:00 2001 From: Paolo 'Blaisorblade' Giarrusso Date: Wed, 21 Sep 2005 18:40:29 +0200 Subject: [PATCH] --- yaml --- r: 9180 b: refs/heads/master c: a46c9047642d70f5619e4a14129d74dd1f6ea74f h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/um/os-Linux/aio.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 58d0239ff6e1..7db499d8ab5a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ae756df8ddd00a30bb3bdf6774b514c096dda4a4 +refs/heads/master: a46c9047642d70f5619e4a14129d74dd1f6ea74f diff --git a/trunk/arch/um/os-Linux/aio.c b/trunk/arch/um/os-Linux/aio.c index 298d5632128b..f6e64026f995 100644 --- a/trunk/arch/um/os-Linux/aio.c +++ b/trunk/arch/um/os-Linux/aio.c @@ -144,6 +144,7 @@ static int aio_thread(void *arg) "errno = %d\n", errno); } else { + /* This is safe as we've just a pointer here. */ aio = (struct aio_context *) (long) event.data; if(update_aio(aio, event.res)){ do_aio(ctx, aio);