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

Skip to content
Commit 06fb220b authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Rob Clark
Browse files

drm/omap: Don't dereference list head when the connectors list is empty



The connectors list iterator returns the list head when the list is
empty. Fix it by returning NULL in that case.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: default avatarRob Clark <robdclark@gmail.com>
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
parent 30b6f8f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment