USB: c67x00-ll-hpi.c: signedness bug in ll_recv_msg()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 18 Jan 2013 07:41:38 +0000 (10:41 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jan 2013 23:49:00 +0000 (15:49 -0800)
commita29c408521b2b8969fead6aa3c7819800d6b473a
tree9f26e5681dbaa5c54f29610dc8c9b5ccc8cc2e6d
parentf40d781554ef5413d70254e422bc59d6538333d2
USB: c67x00-ll-hpi.c: signedness bug in ll_recv_msg()

The callers expect this function to return zero on success or -EIO if it
times out.  The type should be int instead of unsigned short.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/c67x00/c67x00-ll-hpi.c