Message ID | 20170814070849.20986-38-jgross@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/xen/drivers/video/vesa.c b/xen/drivers/video/vesa.c index 09d344c021..c92497e0bc 100644 --- a/xen/drivers/video/vesa.c +++ b/xen/drivers/video/vesa.c @@ -29,12 +29,14 @@ static unsigned int vram_remap; integer_param("vesa-map", vram_remap); static int font_height; -static void __init parse_font_height(const char *s) +static int __init parse_font_height(const char *s) { if ( simple_strtoul(s, &s, 10) == 8 && (*s++ == 'x') ) font_height = simple_strtoul(s, &s, 10); if ( *s != '\0' ) font_height = 0; + + return 0; } custom_param("font", parse_font_height);