hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/drivers/video/fbdev/xen-fbfront.c
....@@ -328,7 +328,7 @@
328328 return 0;
329329 }
330330
331
-static struct fb_ops xenfb_fb_ops = {
331
+static const struct fb_ops xenfb_fb_ops = {
332332 .owner = THIS_MODULE,
333333 .fb_read = fb_sys_read,
334334 .fb_write = xenfb_write,
....@@ -677,7 +677,7 @@
677677 case XenbusStateClosed:
678678 if (dev->state == XenbusStateClosed)
679679 break;
680
- /* Missed the backend's CLOSING state -- fallthrough */
680
+ fallthrough; /* Missed the backend's CLOSING state */
681681 case XenbusStateClosing:
682682 xenbus_frontend_closed(dev);
683683 break;