android_kernel_xiaomi_sm8350/arch/um/kernel
Jeff Dike f28169d200 [PATCH] uml: return hotplug errors to host
I noticed that errors happening while hotplugging devices from the host were
never returned back to the mconsole client.  In some cases, success was
returned instead of even an information-free error.

This patch cleans that up by having the low-level configuration code pass back
an error string along with an error code.  At the top level, which knows
whether it is early boot time or responding to an mconsole request, the string
is printk'd or returned to the mconsole client.

There are also whitespace and trivial code cleanups in the surrounding code.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-11 10:51:21 -08:00
..
skas [PATCH] uml: correct removal of pte_mkexec 2006-10-11 11:14:20 -07:00
tt [PATCH] uml: return hotplug errors to host 2007-02-11 10:51:21 -08:00
asm-offsets.c
config.c.in
dyn.lds.S [PATCH] uml: add _text definition to linker scripts 2006-10-31 08:07:00 -08:00
exec.c [PATCH] tty: ->signal->tty locking 2006-12-08 08:28:38 -08:00
exitcode.c [PATCH] uml: locking documentation 2006-09-29 09:18:04 -07:00
gmon_syms.c [PATCH] uml: fix gcov support 2006-09-27 08:26:16 -07:00
gprof_syms.c
init_task.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
initrd.c
irq.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
ksyms.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
Makefile [PATCH] uml: file renaming 2006-09-27 08:26:16 -07:00
mem.c [PATCH] uml: get rid of ZONE_DMA use 2006-09-27 08:26:15 -07:00
physmem.c
process.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
ptrace.c
reboot.c [PATCH] uml: Use ARRAY_SIZE more assiduously 2006-09-26 08:49:05 -07:00
resource.c
sigio.c [PATCH] uml pt_regs fixes 2006-10-08 16:34:08 -07:00
signal.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
smp.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
syscall.c [PATCH] rename the provided execve functions to kernel_execve 2006-10-02 07:57:23 -07:00
sysrq.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
time.c [PATCH] uml pt_regs fixes 2006-10-08 16:34:08 -07:00
tlb.c [PATCH] uml: Whitespace fixes 2006-09-26 08:49:06 -07:00
trap.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
uaccess.c
um_arch.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
umid.c
uml.lds.S [PATCH] uml: add _text definition to linker scripts 2006-10-31 08:07:00 -08:00
vmlinux.lds.S [PATCH] uml: tidy biarch gcc support 2006-07-14 21:53:52 -07:00