Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/sys/external/bsd/drm2/linux Pull up following revision(s)...
details: https://anonhg.NetBSD.org/src/rev/a3e59abf691b
branches: netbsd-9
changeset: 462690:a3e59abf691b
user: martin <martin%NetBSD.org@localhost>
date: Thu Oct 17 19:17:45 2019 +0000
description:
Pull up following revision(s) (requested by maya in ticket #350):
sys/external/bsd/drm2/linux/linux_dma_buf.c: revision 1.6
correct error handling.
from Ilja Van Sprundel, thanks.
diffstat:
sys/external/bsd/drm2/linux/linux_dma_buf.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r f0177880864a -r a3e59abf691b sys/external/bsd/drm2/linux/linux_dma_buf.c
--- a/sys/external/bsd/drm2/linux/linux_dma_buf.c Thu Oct 17 19:15:24 2019 +0000
+++ b/sys/external/bsd/drm2/linux/linux_dma_buf.c Thu Oct 17 19:17:45 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_dma_buf.c,v 1.5 2019/01/04 23:03:02 tnn Exp $ */
+/* $NetBSD: linux_dma_buf.c,v 1.5.6.1 2019/10/17 19:17:45 martin 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.5 2019/01/04 23:03:02 tnn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_dma_buf.c,v 1.5.6.1 2019/10/17 19:17:45 martin Exp $");
#include <sys/types.h>
#include <sys/atomic.h>
@@ -133,11 +133,11 @@
if ((file = fd_getfile(fd)) == NULL) {
error = EBADF;
- goto fail1;
+ goto fail0;
}
if (file->f_type != DTYPE_MISC || file->f_ops != &dmabuf_fileops) {
error = EINVAL;
- goto fail0;
+ goto fail1;
}
dmabuf = file->f_data;
Home |
Main Index |
Thread Index |
Old Index