]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] uml: fix device unplug crash
authorJeff Dike <jdike@addtoit.com>
Thu, 29 Mar 2007 08:20:28 +0000 (01:20 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 29 Mar 2007 15:22:24 +0000 (08:22 -0700)
commit6c4050aeef05ef121639a8e50d70c96490f5bd9a
treed23894b3d5de54b0559239ae9eecfc91e52082af
parent61fbfdc5b8468ed6fa9b71ab297bfa2cc9f9805d
[PATCH] uml: fix device unplug crash

Fix a NULL dereference when unplugging a device.  The default value of
err_msg wants to be "" in case the driver doesn't modify it.

Signed-off-by: Jeff Dike <jdike@linux.intel.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>
arch/um/drivers/mconsole_kern.c