WSL2-Linux-Kernel/drivers/staging/speakup
Daeseok Youn ef35a4f44b staging: speakup: fix misuse of kstrtol() in handle_goto()
A string of goto_buf has a number followed by x or y.
e.g. "3x" means move 3 lines down.
The kstrtol() returns an error(-EINVAL) with this string so
go_pos has unsigned a value of that error.
And also "*cp" has not expected value.

And fix sparse warnings:
 drivers/staging/speakup/main.c:1901 handle_goto() warn: unsigned '(speakup_console[vc->vc_num]->go_pos)' is never less than zero.
 drivers/staging/speakup/main.c:1911 handle_goto() warn: unsigned '(speakup_console[vc->vc_num]->go_pos)' is never less than zero.

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-04-16 11:41:44 -07:00
..
DefaultKeyAssignments
Kconfig Staging: speakup: Add dependencies for ISA card drivers 2013-09-17 07:47:45 -07:00
Makefile
TODO
buffers.c
devsynth.c staging: speakup: fix warnings by adding __user annotations 2013-05-22 15:35:52 -07:00
fakekey.c
i18n.c staging: speakup: i18n: remove custom locking macros 2013-05-16 16:11:08 -07:00
i18n.h
keyhelp.c
kobjects.c staging: fix up speakup kobject mode 2014-04-01 14:20:26 +10:30
main.c staging: speakup: fix misuse of kstrtol() in handle_goto() 2014-04-16 11:41:44 -07:00
selection.c
serialio.c staging: speakup: Prefer pr_err instead of printk(KERN_ERR) 2014-03-18 11:13:37 -07:00
serialio.h drivers: staging: speakup: serialio: only use platform specific SERIAL_PORT_DFNS. 2013-11-11 16:22:17 -08:00
speakup.h staging: fix up speakup kobject mode 2014-04-01 14:20:26 +10:30
speakup_acnt.h
speakup_acntpc.c staging: fix up speakup kobject mode 2014-04-01 14:20:26 +10:30
speakup_acntsa.c staging: fix up speakup kobject mode 2014-04-01 14:20:26 +10:30
speakup_apollo.c staging: fix up speakup kobject mode 2014-04-01 14:20:26 +10:30
speakup_audptr.c staging: fix up speakup kobject mode 2014-04-01 14:20:26 +10:30
speakup_bns.c staging: fix up speakup kobject mode 2014-04-01 14:20:26 +10:30
speakup_decext.c staging: fix up speakup kobject mode 2014-04-01 14:20:26 +10:30
speakup_decpc.c staging: fix up speakup kobject mode 2014-04-01 14:20:26 +10:30
speakup_dectlk.c Nothing major: the stricter permissions checking for sysfs broke 2014-04-06 09:38:07 -07:00
speakup_dtlk.c staging: fix up speakup kobject mode 2014-04-01 14:20:26 +10:30
speakup_dtlk.h
speakup_dummy.c staging: fix up speakup kobject mode 2014-04-01 14:20:26 +10:30
speakup_keypc.c staging: fix up speakup kobject mode 2014-04-01 14:20:26 +10:30
speakup_ltlk.c staging: fix up speakup kobject mode 2014-04-01 14:20:26 +10:30
speakup_soft.c staging: fix up speakup kobject mode 2014-04-01 14:20:26 +10:30
speakup_spkout.c staging: fix up speakup kobject mode 2014-04-01 14:20:26 +10:30
speakup_txprt.c staging: fix up speakup kobject mode 2014-04-01 14:20:26 +10:30
speakupmap.h
speakupmap.map
spk_priv.h staging: speakup: remove custom locking macro definitions 2013-05-16 16:14:50 -07:00
spk_priv_keyinfo.h
spk_types.h
spkguide.txt
synth.c Staging: speakup: Fix return value in synth.c 2013-05-16 16:17:30 -07:00
thread.c staging: speakup: thread: remove custom locking macros 2013-05-16 16:14:49 -07:00
varhandlers.c staging: speakup: remove unnecessary space before semicolon 2013-10-14 09:15:27 -07:00