-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The value of keycode 0 has a special meaning, but on some architectures (like powerpc) keyboards may generate keycode zero. In other cases, kernel places K_ALLOCATED there. Since it depends on the architecture you need to revert the test added earlier. Unfortunately the opposite is also true. On some architectures (where it is possible to specify keycode 0) tests will fail. It's lucky there aren't many architectures like this. Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/tty/vt/keyboard.c#n1968 Fixes: bdf5742 ("libkeymap: dump action codes for keycode 0") Signed-off-by: Alexey Gladkov <legion@kernel.org>
- Loading branch information
Showing
4 changed files
with
13 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters