summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2017-08-07 23:25:34 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-10 07:41:39 -0800
commit18747e4caac9c6d7352e2af9c57ccaf0e94776f8 (patch)
treef442dcffd9b5011c8a5c44a42d14df37519e121f /tools/perf/scripts/python/syscall-counts.py
parentfd5939e73ea78ac33e597de3b7677c3d7dc50e63 (diff)
usb: dwc3: omap: fix error return code in dwc3_omap_probe()
[ Upstream commit 0ae99ecba7928c7bc66cf14d8a88f0b6ec9fc78e ] platform_get_irq() returns an error code, but the dwc3-omap driver ignores it and always returns -EINVAL. This is not correct and, prevents -EPROBE_DEFER from being propagated properly. Notice that platform_get_irq() no longer returns 0 on error: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e330b9a6bb35dc7097a4f02cb1ae7b6f96df92af Print and propagate the return value of platform_get_irq on failure. This issue was detected with the help of Coccinelle. Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions