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 return value in ...



details:   https://anonhg.NetBSD.org/src/rev/10a46af4aadc
branches:  trunk
changeset: 368415:10a46af4aadc
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Jul 10 12:32:31 2022 +0000

description:
linux/hdmi: Fix return value in unpack.

diffstat:

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

diffs (27 lines):

diff -r f75227b181f6 -r 10a46af4aadc sys/external/bsd/drm2/linux/linux_hdmi.c
--- a/sys/external/bsd/drm2/linux/linux_hdmi.c  Sun Jul 10 10:52:40 2022 +0000
+++ b/sys/external/bsd/drm2/linux/linux_hdmi.c  Sun Jul 10 12:32:31 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_hdmi.c,v 1.8 2022/07/09 19:53:00 riastradh Exp $ */
+/*     $NetBSD: linux_hdmi.c,v 1.9 2022/07/10 12:32:31 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.8 2022/07/09 19:53:00 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_hdmi.c,v 1.9 2022/07/10 12:32:31 riastradh Exp $");
 
 #include <sys/types.h>
 
@@ -111,7 +111,7 @@
                return -EINVAL;
 
        hdmi_infoframe_header_init(header, p[0], p[1], p[2]);
-       return HDMI_INFOFRAME_HEADER_SIZE;
+       return 0;
 }
 
 static void



Home | Main Index | Thread Index | Old Index