aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-05-07 05:13:23 +0000
committerblacksuan19 <i@blacksuan19.me>2020-05-20 18:36:07 +0800
commit5175966ad0f734ca4dc1fa12b0d1d05c6ba4e664 (patch)
treef9e31d06c6f32ea16bfc7ce07eed17d980fc4c82 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent3f9737615ae6ecb3eed58be8b9ca0e7eb4fca8e9 (diff)
usb: gadget: legacy: fix error return code in gncm_bind()
commit e27d4b30b71c66986196d8a1eb93cba9f602904a upstream. If 'usb_otg_descriptor_alloc()' fails, we must return a negative error code -ENOMEM, not 0. Fixes: 1156e91dd7cc ("usb: gadget: ncm: allocate and init otg descriptor by otg capabilities") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Felipe Balbi <balbi@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions