linux/arch
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
..
alpha [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
arm [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
arm26 [PATCH] ARM26: Use ARRAY_SIZE macro when appropriate 2007-02-11 10:51:19 -08:00
avr32 [AVR32] Add missing #include <linux/module.h> 2007-02-09 15:23:46 +01:00
cris [PATCH] CRIS: TLB handling: turn local_save_flags() + local_irq_disable() into local_irq_save() 2007-02-11 10:51:21 -08:00
frv [PATCH] optional ZONE_DMA: introduce CONFIG_ZONE_DMA 2007-02-11 10:51:18 -08:00
h8300 [PATCH] optional ZONE_DMA: introduce CONFIG_ZONE_DMA 2007-02-11 10:51:18 -08:00
i386 [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
ia64 [PATCH] optional ZONE_DMA: optional ZONE_DMA for ia64 2007-02-11 10:51:18 -08:00
m32r [PATCH] m32r: cosmetic updates and trivial fixes 2007-02-11 10:51:20 -08:00
m68k [PATCH] M68K: user ARRAY_SIZE macro when appropriate 2007-02-11 10:51:20 -08:00
m68knommu [PATCH] M68KNOMMU: user ARRAY_SIZE macro when appropriate 2007-02-11 10:51:20 -08:00
mips [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
parisc [PATCH] optional ZONE_DMA: remove ZONE_DMA remains from parisc 2007-02-11 10:51:18 -08:00
powerpc [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
ppc [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
s390 [PATCH] optional ZONE_DMA: introduce CONFIG_ZONE_DMA 2007-02-11 10:51:18 -08:00
sh [PATCH] optional ZONE_DMA: remove ZONE_DMA remains from sh/sh64 2007-02-11 10:51:18 -08:00
sh64 [PATCH] optional ZONE_DMA: remove ZONE_DMA remains from sh/sh64 2007-02-11 10:51:18 -08:00
sparc [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
sparc64 [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
um [PATCH] uml: return hotplug errors to host 2007-02-11 10:51:21 -08:00
v850 [PATCH] optional ZONE_DMA: introduce CONFIG_ZONE_DMA 2007-02-11 10:51:18 -08:00
x86_64 [PATCH] Set CONFIG_ZONE_DMA for arches with GENERIC_ISA_DMA 2007-02-11 10:51:19 -08:00
xtensa [PATCH] optional ZONE_DMA: introduce CONFIG_ZONE_DMA 2007-02-11 10:51:18 -08:00