diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-02-17 10:32:11 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2025-02-27 12:58:38 -0800 |
commit | 0b305b7cadce835505bd93183a599acb1f800a05 (patch) | |
tree | 317fbd166874245820d649ce2e13fb192717249d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | d7a5ac67d82c50c1f909c7056f78b1630a0f71cf (diff) |
drm/msm/gem: Fix error code msm_parse_deps()
The SUBMIT_ERROR() macro turns the error code negative. This extra '-'
operation turns it back to positive EINVAL again. The error code is
passed to ERR_PTR() and since positive values are not an IS_ERR() it
eventually will lead to an oops. Delete the '-'.
Fixes: 866e43b945bf ("drm/msm: UAPI error reporting")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/637625/
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions