linux/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
..
buffers.c
DefaultKeyAssignments
devsynth.c
fakekey.c
i18n.c
i18n.h
Kconfig
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
Makefile
selection.c
serialio.c staging: speakup: Prefer pr_err instead of printk(KERN_ERR) 2014-03-18 11:13:37 -07:00
serialio.h
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
speakup.h staging: fix up speakup kobject mode 2014-04-01 14:20:26 +10:30
speakupmap.h
speakupmap.map
spk_priv_keyinfo.h
spk_priv.h
spk_types.h
spkguide.txt
synth.c
thread.c
TODO
varhandlers.c