libpayload/drivers/i8042: Add fallthrough comment
Ctrl-delete does nothing, so it falls through to the default case. Add a comment to make this explicit. Found-by: Coverity Scan #1260878 Signed-off-by: Jacob Garber <jgarber1@ualberta.ca> Change-Id: I4a6f51cb04696b6ebcb554c5667a5bbea58622c1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/32750 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
parent
a75440739d
commit
dbc787d13d
|
@ -258,6 +258,7 @@ int keyboard_getchar(void)
|
||||||
/* vulcan nerve pinch */
|
/* vulcan nerve pinch */
|
||||||
if ((modifier & KB_MOD_ALT) && reset_handler)
|
if ((modifier & KB_MOD_ALT) && reset_handler)
|
||||||
reset_handler();
|
reset_handler();
|
||||||
|
/* fallthrough */
|
||||||
default:
|
default:
|
||||||
ret = 0;
|
ret = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue