f28169d200
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> |
||
---|---|---|
.. | ||
include | ||
ptproxy | ||
Makefile | ||
exec_kern.c | ||
exec_user.c | ||
gdb.c | ||
gdb_kern.c | ||
ksyms.c | ||
mem.c | ||
mem_user.c | ||
process_kern.c | ||
syscall_kern.c | ||
syscall_user.c | ||
tlb.c | ||
tracer.c | ||
trap_user.c | ||
uaccess.c | ||
uaccess_user.c |