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/dist/drm/nouveau/nvkm/core nouveau: Fi...



details:   https://anonhg.NetBSD.org/src/rev/e638918c5b78
branches:  trunk
changeset: 1028459:e638918c5b78
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:05:55 2021 +0000

description:
nouveau: Fix #endif NetBSD so we return ENOENT here.

diffstat:

 sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/nouveau_nvkm_core_object.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 6988daba0d57 -r e638918c5b78 sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/nouveau_nvkm_core_object.c
--- a/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/nouveau_nvkm_core_object.c       Sun Dec 19 11:05:48 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/nouveau_nvkm_core_object.c       Sun Dec 19 11:05:55 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nouveau_nvkm_core_object.c,v 1.8 2021/12/19 10:51:57 riastradh Exp $   */
+/*     $NetBSD: nouveau_nvkm_core_object.c,v 1.9 2021/12/19 11:05:55 riastradh Exp $   */
 
 /*
  * Copyright 2012 Red Hat Inc.
@@ -24,7 +24,7 @@
  * Authors: Ben Skeggs
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nouveau_nvkm_core_object.c,v 1.8 2021/12/19 10:51:57 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nouveau_nvkm_core_object.c,v 1.9 2021/12/19 11:05:55 riastradh Exp $");
 
 #include <core/object.h>
 #include <core/client.h>
@@ -53,8 +53,8 @@
                        else
                                goto done;
                }
+#endif
                return ERR_PTR(-ENOENT);
-#endif
        } else {
                object = &client->object;
        }



Home | Main Index | Thread Index | Old Index