summaryrefslogtreecommitdiff
path: root/tools/usb/usbip/src/usbip_attach.c
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2018-03-07 23:42:25 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-09 20:17:08 +0300
commitc207a10d2f0bddf691920c0d73b7e8a83e6e2fb6 (patch)
tree20ba478c46899debed78866b1be198bd526b8dd9 /tools/usb/usbip/src/usbip_attach.c
parentf6bcbf2e24eb10275b6614ccd9cab3e7d93748de (diff)
downloadlinux-c207a10d2f0bddf691920c0d73b7e8a83e6e2fb6.tar.xz
usbip: usbip_host_common: Use new error codes to return request status
Currently ST_OK and ST_NA are the only values used to communicate status of a request from a client. Use new error codes to clearly indicate what failed. For example, when client sends request to import a device that isn't export-able, send ST_DEV_BUSY to the client. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/usb/usbip/src/usbip_attach.c')
0 files changed, 0 insertions, 0 deletions