As discusssed in the the review of [1], rework these two functions to separate single point parser and provide clean error path. Depenencies: [1] [1] https://lore.kernel.org/all/20230215235048.1166484-1-robdclark@xxxxxxxxx Dmitry Baryshkov (2): drm/msm: drop unused ring variable in msm_ioctl_gem_submit() drm/msm: simplify msm_parse_deps() and msm_parse_post_deps() drivers/gpu/drm/msm/msm_gem_submit.c | 206 ++++++++++++++------------- drivers/gpu/drm/msm/msm_gpu_trace.h | 10 +- 2 files changed, 113 insertions(+), 103 deletions(-) -- 2.39.1