summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_dp_cec.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2018-07-24 22:20:28 +0300
committerGustavo Padovan <gustavo.padovan@collabora.com>2018-07-28 21:50:40 +0300
commitea5569ecd6b81232eb536017b627c417befc1acb (patch)
treecb86fe2098fb24ab7f37bce096ec4e6beb7ee29e /drivers/gpu/drm/drm_dp_cec.c
parent6d52aacd92c60331ec8c3117522f4301b5195e28 (diff)
downloadlinux-ea5569ecd6b81232eb536017b627c417befc1acb.tar.xz
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
Diffstat (limited to 'drivers/gpu/drm/drm_dp_cec.c')
-rw-r--r--drivers/gpu/drm/drm_dp_cec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_dp_cec.c b/drivers/gpu/drm/drm_dp_cec.c
index ddb1c5adebb9..988513346e9c 100644
--- a/drivers/gpu/drm/drm_dp_cec.c
+++ b/drivers/gpu/drm/drm_dp_cec.c
@@ -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)),