]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen/hvc: Fix error cases around HVM_PARAM_CONSOLE_PFN
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 23 May 2012 16:55:38 +0000 (12:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Jun 2012 18:36:53 +0000 (11:36 -0700)
commit85fc3e3eba89272acb005f320ccafa0588a48f49
treee5797446f9a1167ef04d999d5577d78b65249c50
parent6a07cbc4ef9cea9f9eabc676fd6b8c03c11f51cc
xen/hvc: Fix error cases around HVM_PARAM_CONSOLE_PFN

commit a32c88b9386ce3df87f28dd46bdc3776cd6edf75 upstream.

We weren't resetting the parameter to be passed in to a
known default. Nor were we checking the return value of
hvm_get_parameter.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/hvc/hvc_xen.c