X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Ftty%2Fhvc%2Fhvc_xen.c;fp=drivers%2Ftty%2Fhvc%2Fhvc_xen.c;h=a9d837f83ce832539a442643f10ec4221d0fa117;hb=c4ace5daf4ff726402b13f1ababf2ad0e0ceec65;hp=7a3d146a5f0efc0dbc3b94e854adb4d81c85da4d;hpb=76ea3cb428c5dc4fd5a415a7651026caf198fb3d;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/tty/hvc/hvc_xen.c b/drivers/tty/hvc/hvc_xen.c index 7a3d146a5f0e..a9d837f83ce8 100644 --- a/drivers/tty/hvc/hvc_xen.c +++ b/drivers/tty/hvc/hvc_xen.c @@ -302,7 +302,7 @@ static int xen_initial_domain_console_init(void) static void xen_console_update_evtchn(struct xencons_info *info) { if (xen_hvm_domain()) { - uint64_t v; + uint64_t v = 0; int err; err = hvm_get_parameter(HVM_PARAM_CONSOLE_EVTCHN, &v);