diff options
author | Rob Clark <robin.clark@oss.qualcomm.com> | 2025-07-23 13:28:22 -0700 |
---|---|---|
committer | Rob Clark <robin.clark@oss.qualcomm.com> | 2025-08-01 10:53:11 -0700 |
commit | f22853435bbd1e9836d0dce7fd99c040b94c2bf1 (patch) | |
tree | 988a711ae81c913eefb0fa1f17a08c426353decc /lib/timerqueue.c | |
parent | ad70e46e130a7f4024961a5dd5ae0ee8e7d9a3c4 (diff) |
drm/msm: Defer fd_install in SUBMIT ioctl
Avoid fd_install() until there are no more potential error paths, to
avoid put_unused_fd() after the fd is made visible to userspace.
Fixes: 68dc6c2d5eec ("drm/msm: Fix submit error-path leaks")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Rob Clark <robin.clark@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/665363/
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions