staging: speakup: fix a bug when translate octal numbers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 9 Apr 2013 12:22:16 +0000 (15:22 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Apr 2013 19:36:43 +0000 (12:36 -0700)
commit3d2409d4f1d459ad734718ab19c731a934968ec0
tree1d717cb0c5e663e17807fc44eccaa23677571de1
parentde68600e32fa713544a2dde68dac783411405b46
staging: speakup: fix a bug when translate octal numbers

There are actually overflow bug and typo. And bug was never happened due to the
typo.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/varhandlers.c