Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/drm/dist/bsd-core Fix misplaced parenthesis...



details:   https://anonhg.NetBSD.org/src/rev/bee285363484
branches:  trunk
changeset: 331018:bee285363484
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sun Jul 27 03:49:25 2014 +0000

description:
Fix misplaced parenthesis, from Henning Petersen in PR 44804.

diffstat:

 sys/external/bsd/drm/dist/bsd-core/drm_scatter.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r cf04ad77039f -r bee285363484 sys/external/bsd/drm/dist/bsd-core/drm_scatter.c
--- a/sys/external/bsd/drm/dist/bsd-core/drm_scatter.c  Sun Jul 27 03:34:41 2014 +0000
+++ b/sys/external/bsd/drm/dist/bsd-core/drm_scatter.c  Sun Jul 27 03:49:25 2014 +0000
@@ -129,7 +129,7 @@
 
        if ((ret = bus_dmamem_alloc(dmah->tag, request->size, PAGE_SIZE, 0,
                                    dmah->segs, pages, &nsegs,
-                                   BUS_DMA_WAITOK) != 0)) {
+                                   BUS_DMA_WAITOK)) != 0) {
                printf("drm: Unable to allocate %lu bytes of DMA, error %d\n",
                    request->size, ret);
                dmah->tag = NULL;



Home | Main Index | Thread Index | Old Index