]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
speakup: document the usage of enum values
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 2 Nov 2020 09:59:45 +0000 (10:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Nov 2020 17:15:50 +0000 (18:15 +0100)
commit508155944752f6e51dbc0a7273d933e954e4ed64
tree66b9165b5dfa73f4c3d4f64cde89fd28d392066c
parenta79db45fa54e2420c9fe977a6a5835c466888b5a
speakup: document the usage of enum values

The cursor tracking modes enum, the edge enum, and the read_all commands
enum should be used as such in the source code, to make it more readable
and make gcc catch missing values in switches.

Also, some values of enums are coupled with others, we at least need to
document these.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Link: https://lore.kernel.org/r/20201102095945.ap4pdff2dn47hijh@function
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/accessibility/speakup/i18n.h
drivers/accessibility/speakup/main.c