Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 37826519 authored by Thierry Reding's avatar Thierry Reding
Browse files

drm/tegra: Make CRTC upcasting safer



When upcasting a NULL CRTC object, propagate the NULL pointer instead of
some invalid pointer. This allows subsequent code to check that the cast
object is valid.

Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 43dd5554
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment