diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2016-04-30 19:29:40 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-05-03 14:32:07 -0700 |
commit | 72f595f3b5cef2c36beb1d07409de58d9e503428 (patch) | |
tree | 72b94e41e4804ab53eca570f79f8b560c42654e8 /drivers/usb/misc/usbtest.c | |
parent | 6fb650d43da3e7054984dc548eaa88765a94d49f (diff) |
usb: renesas_usbhs: fix signed-unsigned return
The return type of usbhsp_setup_pipecfg() was u16 but it was returning
a negative value (-EINVAL). Lets have an additional argument which will
have pipecfg and just return the status (success or error) as the return
from the function.
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/misc/usbtest.c')
0 files changed, 0 insertions, 0 deletions