From 643a1372494fcc2a5160e83360e178ca0c41f7bf Mon Sep 17 00:00:00 2001 From: Jeevan Shriram Date: Tue, 15 Mar 2016 12:16:16 -0700 Subject: net: initialize variables to avoid UML compilation failure While compiling for usermode linux for x86 architecture, observed compilation issues with probable usage of uninitialized variables. This change initializes the variables. Signed-off-by: Jeevan Shriram --- fs/aio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/aio.c') diff --git a/fs/aio.c b/fs/aio.c index 155f84253f33..81761a4290d5 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -1316,7 +1316,7 @@ static long read_events(struct kioctx *ctx, long min_nr, long nr, SYSCALL_DEFINE2(io_setup, unsigned, nr_events, aio_context_t __user *, ctxp) { struct kioctx *ioctx = NULL; - unsigned long ctx; + unsigned long ctx = 0; long ret; ret = get_user(ctx, ctxp); -- cgit v1.2.3