]> git.baikalelectronics.ru Git - kernel.git/commit
hvc_xen: avoid uninitialized variable warning
authorJan Beulich <JBeulich@suse.com>
Thu, 28 May 2015 08:28:22 +0000 (09:28 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Thu, 28 May 2015 11:23:12 +0000 (12:23 +0100)
commit861877b9c5c474f51d413b8594cc22b0b7650242
tree6a516e0b9ca764f65a4bf0ed746703015301d3e4
parent65760efb32fe9aceb0116c2b799552aab097b3af
hvc_xen: avoid uninitialized variable warning

Older compilers don't recognize that "v" can't be used uninitialized;
other code using hvm_get_parameter() zeros the value too, so follow
suit here.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
drivers/tty/hvc/hvc_xen.c