]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
USB: fix PTR_ERR translation in init_usb_class()
authorAlexey Khoroshilov <khoroshilov@ispras.ru>
Wed, 5 Jun 2013 21:27:15 +0000 (01:27 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jun 2013 19:14:38 +0000 (12:14 -0700)
commitde5535f5f508466cd5796d4e14ad4f301ff86a26
tree272120b09c8dd6983eb1f58d9406f91bfaa645a9
parent7d9852a88cb76b102b60b31949d5777e645f1421
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>
drivers/usb/core/file.c