[PATCH] uml: add mconsole_reply variant with length param
authorJeff Dike <jdike@addtoit.com>
Fri, 6 Jan 2006 08:19:03 +0000 (00:19 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:47 +0000 (08:33 -0800)
commit7b033e1fdeef3d8bacac3cd5cfa53c9d670d1f3d
tree632948968ea0d61bc323f419866d3d037a99f0a5
parent44700a4469b6bb89e6f1edd32b8a4a915dd967c6
[PATCH] uml: add mconsole_reply variant with length param

This is needed for the console output patch, since we have a possibly
non-NULL-terminated string there.  So, the new interface takes a string and a
length, and the old interface calls strlen on its string and calls the new
interface with the length.

There's also a bit of whitespace cleanup.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/drivers/mconsole_user.c
arch/um/include/mconsole.h