]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - include/drm/drm_dp_mst_helper.h
drm/dp_mst: Add __must_check to drm_dp_mst_topology_mgr_resume()
authorLyude Paul <lyude@redhat.com>
Tue, 8 Jan 2019 21:11:29 +0000 (16:11 -0500)
committerLyude Paul <lyude@redhat.com>
Tue, 8 Jan 2019 22:58:27 +0000 (17:58 -0500)
commitc235316d935a19deedc2fc48076798c9a56e1a7c
tree214705e1011b7a2cd8f925f2821f9b460e3ad5dc
parent2d1af6a11cb9d88e0e3dd10258904c437fe1b315
drm/dp_mst: Add __must_check to drm_dp_mst_topology_mgr_resume()

Since I've had to fix two cases of drivers not checking the return code
from this function, let's make the compiler complain so this doesn't
come up again in the future.

Changes since v1:
* Remove unneeded __must_check in function declaration - danvet

Signed-off-by: Lyude Paul <lyude@redhat.com>
Cc: Jerry Zuo <Jerry.Zuo@amd.com>
Reviewed-by: Daniel Vetter <daniel@ffwll.ch>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190108211133.32564-4-lyude@redhat.com
include/drm/drm_dp_mst_helper.h