mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
UPSTREAM: 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: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/f3720ddf-ec0f-cd22-46b6-720a5e2098f2@xs4all.nl
(cherry picked from commit ea5569ecd6)
Change-Id: I9780212b39185e8b87b74d0216538378f16baf58
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
This commit is contained in:
@@ -157,7 +157,7 @@ static void drm_dp_cec_adap_status(struct cec_adapter *adap,
|
||||
|
||||
if (drm_dp_read_desc(aux, &desc, true))
|
||||
return;
|
||||
seq_printf(file, "OUI: %*pdH\n",
|
||||
seq_printf(file, "OUI: %*phD\n",
|
||||
(int)sizeof(id->oui), id->oui);
|
||||
seq_printf(file, "ID: %*pE\n",
|
||||
(int)strnlen(id->device_id, sizeof(id->device_id)),
|
||||
|
||||
Reference in New Issue
Block a user