]> err.no Git - linux-2.6/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)
commitd40f6d71da81deb66c4fa54b46e22977cdb8b451
treed23894b3d5de54b0559239ae9eecfc91e52082af
parent2a9529a0c890007ade5425b75272c3def283f8b1
[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