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/ttm drm/ttm: ttm_bo_put(bo) won't bo=N...



details:   https://anonhg.NetBSD.org/src/rev/d88f80f4c87a
branches:  trunk
changeset: 1028486:d88f80f4c87a
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 11:09:25 2021 +0000

description:
drm/ttm: ttm_bo_put(bo) won't bo=NULL like ttm_bo_unref(&bo) did.

diffstat:

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

diffs (26 lines):

diff -r cb356579a2d7 -r d88f80f4c87a sys/external/bsd/drm2/ttm/ttm_bo_vm.c
--- a/sys/external/bsd/drm2/ttm/ttm_bo_vm.c     Sun Dec 19 11:09:17 2021 +0000
+++ b/sys/external/bsd/drm2/ttm/ttm_bo_vm.c     Sun Dec 19 11:09:25 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ttm_bo_vm.c,v 1.17 2021/12/19 09:57:33 riastradh Exp $ */
+/*     $NetBSD: ttm_bo_vm.c,v 1.18 2021/12/19 11:09:25 riastradh Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ttm_bo_vm.c,v 1.17 2021/12/19 09:57:33 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ttm_bo_vm.c,v 1.18 2021/12/19 11:09:25 riastradh Exp $");
 
 #include <sys/types.h>
 
@@ -65,7 +65,6 @@
            struct ttm_buffer_object, uvmobj);
 
        ttm_bo_put(bo);
-       KASSERT(bo == NULL);
 }
 
 int



Home | Main Index | Thread Index | Old Index