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/radeon 'r' is just for us, so...



details:   https://anonhg.NetBSD.org/src/rev/ae103969cbee
branches:  trunk
changeset: 1028254:ae103969cbee
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 09:56:53 2021 +0000

description:
'r' is just for us, so let's declare it


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2676e0a089b4 -r ae103969cbee sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c        Sun Dec 19 09:56:45 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c        Sun Dec 19 09:56:53 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radeon_ttm.c,v 1.20 2021/12/19 09:56:45 riastradh Exp $        */
+/*     $NetBSD: radeon_ttm.c,v 1.21 2021/12/19 09:56:53 riastradh Exp $        */
 
 /*
  * Copyright 2009 Jerome Glisse.
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_ttm.c,v 1.20 2021/12/19 09:56:45 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_ttm.c,v 1.21 2021/12/19 09:56:53 riastradh Exp $");
 
 #include <linux/dma-mapping.h>
 #include <linux/pagemap.h>
@@ -812,7 +812,7 @@
 
        if (slave && ttm->sg) {
 #ifdef __NetBSD__
-               r = drm_prime_bus_dmamap_load_sgt(ttm->bdev->dmat,
+               int r = drm_prime_bus_dmamap_load_sgt(ttm->bdev->dmat,
                    gtt->ttm.dma_address, ttm->sg);
                if (r)
                        return r;



Home | Main Index | Thread Index | Old Index