Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235837
b: refs/heads/master
c: 3ad4e21
h: refs/heads/master
i:
  235835: b3e9c6b
v: v3
  • Loading branch information
Micha Hergarden authored and Greg Kroah-Hartman committed Feb 4, 2011
1 parent 3a06a0c commit 4b5e8f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7d3864d1f6a496108c377f5580a2125c2f8d9014
refs/heads/master: 3ad4e219606fa317f778b26553889520aed7925c
4 changes: 2 additions & 2 deletions trunk/drivers/staging/comedi/drivers.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,9 +471,9 @@ int comedi_buf_alloc(struct comedi_device *dev, struct comedi_subdevice *s,

async->buf_page_list =
vzalloc(sizeof(struct comedi_buf_page) * n_pages);
if (async->buf_page_list) {
if (async->buf_page_list)
pages = vmalloc(sizeof(struct page *) * n_pages);
}

if (pages) {
for (i = 0; i < n_pages; i++) {
if (s->async_dma_dir != DMA_NONE) {
Expand Down

0 comments on commit 4b5e8f5

Please sign in to comment.