From 379adde76b46edc00f352bafc2478fb7d21dac07 Mon Sep 17 00:00:00 2001 From: Jorge Guzman Date: Thu, 30 Jul 2026 22:10:15 -0300 Subject: [PATCH] drivers/input: give the virtio decoder switches a statement to label Both switches end with a bare default label and no statement after it, which a compiler is entitled to reject: a label has to label something. GCC for MIPS does, and the file is new enough that no configuration had compiled it yet. The next commit makes USBHOST_HIDKBD select INPUT_KEYBOARD, which pulls this file into twenty five configurations for the first time, ci20:jumbo among them, so fix it here rather than let that commit break them. Signed-off-by: Jorge Guzman --- drivers/input/virtio_key_decode.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/input/virtio_key_decode.c b/drivers/input/virtio_key_decode.c index 7db6879c5f2..6d8f51cbca6 100644 --- a/drivers/input/virtio_key_decode.c +++ b/drivers/input/virtio_key_decode.c @@ -143,6 +143,7 @@ uint32_t keyboard_translate_virtio_code(uint16_t keycode, bool *special) case KEY_F24: return KEYCODE_F24; default: + break; } *special = false; @@ -275,6 +276,7 @@ uint32_t keyboard_translate_virtio_code(uint16_t keycode, bool *special) case KEY_KPDOT: return '.'; default: + break; } return 0;