diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2013-06-06 01:27:15 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-06 12:14:38 -0700 |
commit | de5535f5f508466cd5796d4e14ad4f301ff86a26 (patch) | |
tree | 272120b09c8dd6983eb1f58d9406f91bfaa645a9 /drivers/usb/host/hwa-hc.c | |
parent | 7d9852a88cb76b102b60b31949d5777e645f1421 (diff) | |
download | op-kernel-dev-de5535f5f508466cd5796d4e14ad4f301ff86a26.zip op-kernel-dev-de5535f5f508466cd5796d4e14ad4f301ff86a26.tar.gz |
USB: fix PTR_ERR translation in init_usb_class()
There is a misprint in init_usb_class():
IS_ERR is used to get error code instead of PTR_ERR.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/hwa-hc.c')
0 files changed, 0 insertions, 0 deletions