diff options
| author | Yang Yingliang <yangyingliang@huawei.com> | 2021-06-18 12:38:35 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 16:22:42 +0200 |
| commit | f45d07b7d6d07d8afb3cd4d24f5102d33efe7886 (patch) | |
| tree | 1c7594b1cefa87e2efeb1693771fd3b81fef4cfe /tools/perf/scripts/python | |
| parent | 0cc183153897c74635e9a3af1edb0bba3c97cfea (diff) | |
usb: gadget: hid: fix error return code in hid_bind()
[ Upstream commit 88693f770bb09c196b1eb5f06a484a254ecb9924 ]
Fix to return a negative error code from the error handling
case instead of 0.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20210618043835.2641360-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
