aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-10-01 15:57:59 +0300
committerRob Clark <robdclark@chromium.org>2021-10-11 17:30:53 -0700
commit980d74e7d03ccf2eaa11d133416946bd880c7c08 (patch)
tree09b682f8256a37f1cb90faa478c520ba1687bdc1 /tools/perf/scripts/python/syscall-counts.py
parent2133c4fc8e1348dcb752f267a143fe2254613b34 (diff)
drm/msm/a4xx: fix error handling in a4xx_gpu_init()
This code returns 1 on error instead of a negative error. It leads to an Oops in the caller. A second problem is that the check for "if (ret != -ENODATA)" cannot be true because "ret" is set to 1. Fixes: 5785dd7a8ef0 ("drm/msm: Fix duplicate gpu node in icc summary") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20211001125759.GJ2283@kili Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions