diff options
author | Wei Li <liwei391@huawei.com> | 2021-07-05 16:43:02 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2021-08-07 21:48:38 +0300 |
commit | bfddcfe155a2fe448fee0169c5cbc82c7fa73491 (patch) | |
tree | 78870ded818f90d82834caf6593fd888f2bbe06c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b93cc4b201372d4ab16f501ef3a2d3aac1f01f08 (diff) | |
download | linux-bfddcfe155a2fe448fee0169c5cbc82c7fa73491.tar.xz |
drm/msm: Fix error return code in msm_drm_init()
When it fail to create crtc_event kthread, it just jump to err_msm_uninit,
while the 'ret' is not updated. So assign the return code before that.
Fixes: 25fdd5933e4c ("drm/msm: Add SDM845 DPU support")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Li <liwei391@huawei.com>
Reviewed-by: Abhinav Kumar <abhinavk@codeaurora.org>
Link: https://lore.kernel.org/r/20210705134302.315813-1-liwei391@huawei.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions