Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm2/linux linux/hdmi: Fix size of product id.



details:   https://anonhg.NetBSD.org/src/rev/805ef34943de
branches:  trunk
changeset: 368417:805ef34943de
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Jul 10 13:56:44 2022 +0000

description:
linux/hdmi: Fix size of product id.

diffstat:

 sys/external/bsd/drm2/linux/linux_hdmi.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c8c3969ef583 -r 805ef34943de sys/external/bsd/drm2/linux/linux_hdmi.c
--- a/sys/external/bsd/drm2/linux/linux_hdmi.c  Sun Jul 10 12:49:05 2022 +0000
+++ b/sys/external/bsd/drm2/linux/linux_hdmi.c  Sun Jul 10 13:56:44 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_hdmi.c,v 1.9 2022/07/10 12:32:31 riastradh Exp $ */
+/*     $NetBSD: linux_hdmi.c,v 1.10 2022/07/10 13:56:44 riastradh Exp $        */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_hdmi.c,v 1.9 2022/07/10 12:32:31 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_hdmi.c,v 1.10 2022/07/10 13:56:44 riastradh Exp $");
 
 #include <sys/types.h>
 
@@ -515,7 +515,7 @@
        size -= HDMI_INFOFRAME_HEADER_SIZE;
 
        memcpy(frame->vendor, &p[0], 8);
-       memcpy(frame->product, &p[8], 8);
+       memcpy(frame->product, &p[8], 16);
        frame->sdi = p[24];
 
        return 0;



Home | Main Index | Thread Index | Old Index