diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2018-07-24 21:20:28 +0200 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.com> | 2018-07-28 15:50:40 -0300 |
commit | ea5569ecd6b81232eb536017b627c417befc1acb (patch) | |
tree | cb86fe2098fb24ab7f37bce096ec4e6beb7ee29e /drivers/gpu/drm/drm_dp_cec.c | |
parent | 6d52aacd92c60331ec8c3117522f4301b5195e28 (diff) |
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.c | 2 |
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)), |