Commit ea5569ec authored by Hans Verkuil's avatar Hans Verkuil Committed by Gustavo Padovan

drm_dp_cec.c: fix formatting typo: %pdH -> %phD

This caused a kernel oops since %pdH interpreted the pointer
as a struct file.
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/f3720ddf-ec0f-cd22-46b6-720a5e2098f2@xs4all.nl
parent 6d52aacd
...@@ -157,7 +157,7 @@ static void drm_dp_cec_adap_status(struct cec_adapter *adap, ...@@ -157,7 +157,7 @@ static void drm_dp_cec_adap_status(struct cec_adapter *adap,
if (drm_dp_read_desc(aux, &desc, true)) if (drm_dp_read_desc(aux, &desc, true))
return; return;
seq_printf(file, "OUI: %*pdH\n", seq_printf(file, "OUI: %*phD\n",
(int)sizeof(id->oui), id->oui); (int)sizeof(id->oui), id->oui);
seq_printf(file, "ID: %*pE\n", seq_printf(file, "ID: %*pE\n",
(int)strnlen(id->device_id, sizeof(id->device_id)), (int)strnlen(id->device_id, sizeof(id->device_id)),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment