hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/input/misc/xen-kbdfront.c
....@@ -124,7 +124,7 @@
124124 switch (mtouch->event_type) {
125125 case XENKBD_MT_EV_DOWN:
126126 input_mt_report_slot_state(info->mtouch, MT_TOOL_FINGER, true);
127
- /* fall through */
127
+ fallthrough;
128128
129129 case XENKBD_MT_EV_MOTION:
130130 input_report_abs(info->mtouch, ABS_MT_POSITION_X,
....@@ -146,7 +146,7 @@
146146 break;
147147
148148 case XENKBD_MT_EV_UP:
149
- input_mt_report_slot_state(info->mtouch, MT_TOOL_FINGER, false);
149
+ input_mt_report_slot_inactive(info->mtouch);
150150 break;
151151
152152 case XENKBD_MT_EV_SYN:
....@@ -524,7 +524,7 @@
524524 case XenbusStateClosed:
525525 if (dev->state == XenbusStateClosed)
526526 break;
527
- /* Missed the backend's CLOSING state -- fallthrough */
527
+ fallthrough; /* Missed the backend's CLOSING state */
528528 case XenbusStateClosing:
529529 xenbus_frontend_closed(dev);
530530 break;