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 drm: Note NetBSD->Linux errno co...



details:   https://anonhg.NetBSD.org/src/rev/73e1165b1922
branches:  trunk
changeset: 1028661:73e1165b1922
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:37:14 2021 +0000

description:
drm: Note NetBSD->Linux errno conversion.

diffstat:

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

diffs (26 lines):

diff -r 83bdd9566bb6 -r 73e1165b1922 sys/external/bsd/drm2/linux/linux_dma_buf.c
--- a/sys/external/bsd/drm2/linux/linux_dma_buf.c       Sun Dec 19 11:37:05 2021 +0000
+++ b/sys/external/bsd/drm2/linux/linux_dma_buf.c       Sun Dec 19 11:37:14 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_dma_buf.c,v 1.10 2021/12/19 11:33:31 riastradh Exp $     */
+/*     $NetBSD: linux_dma_buf.c,v 1.11 2021/12/19 11:37:14 riastradh Exp $     */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_dma_buf.c,v 1.10 2021/12/19 11:33:31 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_dma_buf.c,v 1.11 2021/12/19 11:37:14 riastradh Exp $");
 
 #include <sys/types.h>
 #include <sys/atomic.h>
@@ -104,6 +104,7 @@
        unsigned refcnt __diagused;
        int ret;
 
+       /* XXX errno NetBSD->Linux */
        ret = -fd_allocfile(&file, &fd);
        if (ret)
                goto out0;



Home | Main Index | Thread Index | Old Index