Re: [patch] USB: c67x00-ll-hpi.c: signedness bug in ll_recv_msg()

2013-01-18 Thread Peter Korsgaard
> "Dan" == Dan Carpenter writes: Dan> The callers expect this function to return zero on success or -EIO if it Dan> times out. The type should be int instead of unsigned short. Dan> Signed-off-by: Dan Carpenter Acked-by: Peter Korsgaard Dan> diff --git a/drivers/usb/c67x00/c67x00-l

[patch] USB: c67x00-ll-hpi.c: signedness bug in ll_recv_msg()

2013-01-17 Thread Dan Carpenter
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 diff --git a/drivers/usb/c67x00/c67x00-ll-hpi.c b/drivers/usb/c67x00/c67x00-ll-hpi.c index a9636f4..3a1ca4d 100644 --- a/drivers/us