NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/44804: Misplaced parenthesis.
>Number: 44804
>Category: kern
>Synopsis: Misplaced parenthesis.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 30 12:45:00 +0000 2011
>Originator: Henning Petersen
>Release: NetBSD-current
>Organization:
>Environment:
>Description:
Misplaced parenthesis.
>How-To-Repeat:
>Fix:
diff -u -r1.3 drm_scatter.c
--- sys/external/bsd/drm/dist/bsd-core/drm_scatter.c 20 Jun 2009 01:07:09
-0000 1.3
+++ sys/external/bsd/drm/dist/bsd-core/drm_scatter.c 26 Mar 2011 11:34:20
-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