Skip to content

Commit f5e9724

Browse files
braille_console: Fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by explicitly adding a break statement instead of letting the code fall through to the next case. Link: KSPP#115 Signed-off-by: Gustavo A. R. Silva <[email protected]>
1 parent 7912118 commit f5e9724

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/accessibility/braille/braille_console.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ static int keyboard_notifier_call(struct notifier_block *blk,
246246
beep(440);
247247
}
248248
}
249+
break;
249250
case KBD_UNBOUND_KEYCODE:
250251
case KBD_UNICODE:
251252
case KBD_KEYSYM:

0 commit comments

Comments
 (0)