]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm_dp_cec.c: fix formatting typo: %pdH -> %phD
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 24 Jul 2018 19:20:28 +0000 (21:20 +0200)
committerGustavo Padovan <gustavo.padovan@collabora.com>
Sat, 28 Jul 2018 18:50:40 +0000 (15:50 -0300)
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
drivers/gpu/drm/drm_dp_cec.c

index ddb1c5adebb96a720de6fedccf707c1cbf5ce860..988513346e9c484c07bfa46614ad335e89342aa6 100644 (file)
@@ -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)),