Fix misplaced parenthesis, from Henning Petersen in PR 44804.
This commit is contained in:
parent
9a78d593a7
commit
9b97857eeb
|
@ -129,7 +129,7 @@ drm_sg_alloc(struct drm_device *dev, struct drm_scatter_gather *request)
|
|||
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue