forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/drivers/tty/hvc/hvc_xen.c
....@@ -527,7 +527,7 @@
527527 case XenbusStateClosed:
528528 if (dev->state == XenbusStateClosed)
529529 break;
530
- /* Missed the backend's CLOSING state -- fallthrough */
530
+ fallthrough; /* Missed the backend's CLOSING state */
531531 case XenbusStateClosing:
532532 xenbus_frontend_closed(dev);
533533 break;
....@@ -638,7 +638,7 @@
638638 #endif
639639
640640 #ifdef CONFIG_EARLY_PRINTK
641
-static int __init xenboot_setup_console(struct console *console, char *string)
641
+static int __init xenboot_console_setup(struct console *console, char *string)
642642 {
643643 static struct xencons_info xenboot;
644644
....@@ -682,7 +682,7 @@
682682 struct console xenboot_console = {
683683 .name = "xenboot",
684684 .write = xenboot_write_console,
685
- .setup = xenboot_setup_console,
685
+ .setup = xenboot_console_setup,
686686 .flags = CON_PRINTBUFFER | CON_BOOT | CON_ANYTIME,
687687 .index = -1,
688688 };