commit | e45423d76f1c229b1a30ddde205a72774cdb12c6 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sat May 20 00:27:18 2017 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu May 25 18:56:32 2017 +0200 |
tree | f817f3dbf4fe06ad49da3960b7465c961df43bfc | |
parent | d70dd245215d6456584119534e6870a9c7b9b9c2 [diff] |
staging: speakup: signedness bug in spk_ttyio_in_nowait() On most of the common arches char is signed so it can't ever == 0xff. Let's fix this by making it a u8. Fixes: 6b9ad1c742bf ("staging: speakup: add send_xchar, tiocmset and input functionality for tty") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>