tty: cyclades: TIOCSERGETLSR should should store to a uint
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 5 Mar 2012 18:07:11 +0000 (21:07 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 19:02:51 +0000 (11:02 -0800)
commitdbca36eab48ee48dfc60b8f41ffad54160ebdd09
tree100469e0a9ccd81eee9b234a0799c4a383f063e4
parenta5f43138da9beddc46b00ec31d167143a7176683
tty: cyclades: TIOCSERGETLSR should should store to a uint

TIOCSERGETLSR should be saved in a uint so the cast here to unsigned
long is a bug.

Reported-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/cyclades.c