Module Name: src
Committed By: dholland
Date: Sun Jul 27 03:49:25 UTC 2014
Modified Files:
src/sys/external/bsd/drm/dist/bsd-core: drm_scatter.c
Log Message:
Fix misplaced parenthesis, from Henning Petersen in PR 44804.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/external/bsd/drm/dist/bsd-core/drm_scatter.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm/dist/bsd-core/drm_scatter.c
diff -u src/sys/external/bsd/drm/dist/bsd-core/drm_scatter.c:1.3 src/sys/external/bsd/drm/dist/bsd-core/drm_scatter.c:1.4
--- src/sys/external/bsd/drm/dist/bsd-core/drm_scatter.c:1.3 Sat Jun 20 01:07:09 2009
+++ src/sys/external/bsd/drm/dist/bsd-core/drm_scatter.c Sun Jul 27 03:49:25 2014
@@ -129,7 +129,7 @@ drm_sg_alloc(struct drm_device *dev, str
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;