diff options
| author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-05-07 15:50:31 +0400 |
|---|---|---|
| committer | Felipe Balbi <balbi@ti.com> | 2013-05-15 18:25:49 +0400 |
| commit | fea77077d1623c6a8d586266cf55c2289360bea3 (patch) | |
| tree | 0cdef3493a851372e67e599cabfb5a8db0e9236b /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 481d30427e5506fc1f5c27bbb94faef9d1ec72a0 (diff) | |
| download | linux-fea77077d1623c6a8d586266cf55c2289360bea3.tar.xz | |
usb: gadget: fix error return code in configfs_composite_bind()
Fix to return a negative error code in the go through all configs error
handling case instead of 0(usb_add_function() will overwrite ret to 0).
Also use error code from usb_gstrings_attach() in all strings init error
case instead of -EINVAL.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
