diff options
author | Jani Nikula | 2023-05-30 12:08:23 +0300 |
---|---|---|
committer | Jani Nikula | 2023-06-02 13:23:30 +0300 |
commit | d60d2bccae65e9f85016ca4d6f6ad169c86b1024 (patch) | |
tree | d00940a743e516e0767a33dd568ed5156a260ca7 /include/drm | |
parent | a036aa1f01e7d1321859613d85570720f041cb07 (diff) |
drm/edid: make drm_edid_duplicate() safe to call with NULL parameter
It's a bit tedious to check for NULL before calling
drm_edid_duplicate(). Make it handle NULL parameter graciously.
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1ae8923d39a5abd0260fdf7f9cc54c5e046e70d3.1685437501.git.jani.nikula@intel.com
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions