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 We spell it ELAST.



details:   https://anonhg.NetBSD.org/src/rev/47907434993c
branches:  trunk
changeset: 1028026:47907434993c
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:40:48 2021 +0000

description:
We spell it ELAST.

diffstat:

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

diffs (27 lines):

diff -r 2ca97d2996f0 -r 47907434993c sys/external/bsd/drm2/linux/linux_dma_fence.c
--- a/sys/external/bsd/drm2/linux/linux_dma_fence.c     Sun Dec 19 01:40:41 2021 +0000
+++ b/sys/external/bsd/drm2/linux/linux_dma_fence.c     Sun Dec 19 01:40:48 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_dma_fence.c,v 1.5 2021/12/19 01:25:13 riastradh Exp $    */
+/*     $NetBSD: linux_dma_fence.c,v 1.6 2021/12/19 01:40:48 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_dma_fence.c,v 1.5 2021/12/19 01:25:13 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_dma_fence.c,v 1.6 2021/12/19 01:40:48 riastradh Exp $");
 
 #include <sys/atomic.h>
 #include <sys/condvar.h>
@@ -473,7 +473,7 @@
 {
 
        KASSERT(!(fence->flags & (1u << DMA_FENCE_FLAG_SIGNALED_BIT)));
-       KASSERTMSG(error >= -MAX_ERRNO, "%d", error);
+       KASSERTMSG(error >= -ELAST, "%d", error);
        KASSERTMSG(error < 0, "%d", error);
 
        fence->error = error;



Home | Main Index | Thread Index | Old Index