Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In commit 91eefc0 Author: Daniel Vetter <[email protected]> Date: Wed Dec 14 00:08:10 2016 +0100 drm: Tighten locking in drm_mode_getconnector I reordered the logic a bit in that IOCTL, but that broke userspace since it'll get the new mode list, but not the new property values. Fix that again. v2: Fix up the error path handling when copy_to_user for the modes failes (Dhinakaran). Fixes: 91eefc0 ("drm: Tighten locking in drm_mode_getconnector") Cc: Sean Paul <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Jani Nikula <[email protected]> Cc: David Airlie <[email protected]> Cc: [email protected] Reported-by: "H.J. Lu" <[email protected]> Tested-by: "H.J. Lu" <[email protected]> Cc: <[email protected]> # v4.11+ Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100576 Cc: "H.J. Lu" <[email protected]> Cc: "Pandiyan, Dhinakaran" <[email protected]> Reviewed-by: Sean Paul <[email protected]> Reviewed-by: Dhinakaran Pandiyan <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
- Loading branch information