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 <jorge.gzm@gmail.com>
This commit is contained in:
Jorge Guzman 2026-07-30 22:10:15 -03:00 committed by Alan C. Assis
parent e00a3a0a2f
commit 04822698b1

View file

@ -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;