android_kernel_xiaomi_sm8350/arch/um/os-Linux
Jeff Dike da3e30e78e uml: fix aio compilation bug
Restructure do_aio thanks to commments from Ulrich and Al.

Uli started this by seeing that UML's initialization of a struct iocb
initialized fields that it shouldn't.

Al followed up by adding the following cleanups:
	eliminating a variable by just using an anonymous structure in
its place.
	hoisting a duplicated line out of the switch.
	simplifying the error checking at the end.

I added a severity to the printk.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Ulrich Drepper <drepper@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-24 12:24:58 -07:00
..
drivers uml: Eliminate kernel allocator wrappers 2007-07-16 09:05:38 -07:00
include
skas uml: SIGIO support cleanup 2007-07-16 09:05:38 -07:00
sys-i386
sys-x86_64
aio.c uml: fix aio compilation bug 2007-07-24 12:24:58 -07:00
elf_aux.c
execvp.c
file.c
helper.c uml: Eliminate kernel allocator wrappers 2007-07-16 09:05:38 -07:00
irq.c
main.c uml: Eliminate kernel allocator wrappers 2007-07-16 09:05:38 -07:00
Makefile
mem.c
process.c
sigio.c uml: Eliminate kernel allocator wrappers 2007-07-16 09:05:38 -07:00
signal.c
start_up.c
time.c
tls.c
trap.c
tt.c
tty_log.c
tty.c
uaccess.c
umid.c
user_syms.c uml: fix string exporting on UML/i386 2007-07-24 12:24:58 -07:00
util.c