mirror of https://gitee.com/openkylin/linux.git
ef35a4f44b
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> |
||
---|---|---|
.. | ||
DefaultKeyAssignments | ||
Kconfig | ||
Makefile | ||
TODO | ||
buffers.c | ||
devsynth.c | ||
fakekey.c | ||
i18n.c | ||
i18n.h | ||
keyhelp.c | ||
kobjects.c | ||
main.c | ||
selection.c | ||
serialio.c | ||
serialio.h | ||
speakup.h | ||
speakup_acnt.h | ||
speakup_acntpc.c | ||
speakup_acntsa.c | ||
speakup_apollo.c | ||
speakup_audptr.c | ||
speakup_bns.c | ||
speakup_decext.c | ||
speakup_decpc.c | ||
speakup_dectlk.c | ||
speakup_dtlk.c | ||
speakup_dtlk.h | ||
speakup_dummy.c | ||
speakup_keypc.c | ||
speakup_ltlk.c | ||
speakup_soft.c | ||
speakup_spkout.c | ||
speakup_txprt.c | ||
speakupmap.h | ||
speakupmap.map | ||
spk_priv.h | ||
spk_priv_keyinfo.h | ||
spk_types.h | ||
spkguide.txt | ||
synth.c | ||
thread.c | ||
varhandlers.c |