diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2013-10-06 02:32:53 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-07 09:07:18 +0200 |
commit | 5287bf726ff8a7353e883b73576710fd53dc88bb (patch) | |
tree | 2eb133d1896892d95439812c74f8d0181d7c6def /drivers/usb/chipidea/udc.c | |
parent | USB/host: Bugfix: Return length of copied buffer in uhci_hub_control() (diff) | |
download | linux-5287bf726ff8a7353e883b73576710fd53dc88bb.tar.xz linux-5287bf726ff8a7353e883b73576710fd53dc88bb.zip |
USB: cyberjack: fix buggy integer overflow test
"old_rdtodo" and "size" are short type. They are type promoted to int
and the condition is never true.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/udc.c')
0 files changed, 0 insertions, 0 deletions