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/ttm Don't forget to advance t...



details:   https://anonhg.NetBSD.org/src/rev/d00b6acae007
branches:  trunk
changeset: 330675:d00b6acae007
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Jul 17 17:19:42 2014 +0000

description:
Don't forget to advance the array index as we walk the queue...

diffstat:

 sys/external/bsd/drm2/dist/drm/ttm/ttm_tt.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r d5bdda22ed6b -r d00b6acae007 sys/external/bsd/drm2/dist/drm/ttm/ttm_tt.c
--- a/sys/external/bsd/drm2/dist/drm/ttm/ttm_tt.c       Thu Jul 17 17:17:24 2014 +0000
+++ b/sys/external/bsd/drm2/dist/drm/ttm/ttm_tt.c       Thu Jul 17 17:19:42 2014 +0000
@@ -366,6 +366,7 @@
                KASSERT(i < ttm->num_pages);
                KASSERT(ttm->pages[i] == NULL);
                ttm->pages[i] = container_of(page, struct page, p_vmp);
+               i++;
        }
        KASSERT(i == ttm->num_pages);
 



Home | Main Index | Thread Index | Old Index