diff options
author | Kristian Høgsberg | 2007-02-16 23:34:48 +0100 |
---|---|---|
committer | Stefan Richter | 2007-03-09 22:03:02 +0100 |
commit | 68be3fa15a420d96b1aaed4c519607bf2bfcb2e1 (patch) | |
tree | ac44ad4a426f92622af45274e15ad5e3d7fa5b44 /drivers/firewire | |
parent | firewire: Don't touch DMA descriptors after appending. (diff) | |
download | kernel-qcow2-linux-68be3fa15a420d96b1aaed4c519607bf2bfcb2e1.tar.gz kernel-qcow2-linux-68be3fa15a420d96b1aaed4c519607bf2bfcb2e1.tar.xz kernel-qcow2-linux-68be3fa15a420d96b1aaed4c519607bf2bfcb2e1.zip |
firewire: Get zeroed out pages for mapping to user space.
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire')
-rw-r--r-- | drivers/firewire/fw-iso.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-iso.c b/drivers/firewire/fw-iso.c index 736b1bf1513e..deff6922a98f 100644 --- a/drivers/firewire/fw-iso.c +++ b/drivers/firewire/fw-iso.c @@ -44,7 +44,7 @@ fw_iso_buffer_init(struct fw_iso_buffer *buffer, struct fw_card *card, goto out; for (i = 0; i < buffer->page_count; i++) { - buffer->pages[i] = alloc_page(GFP_KERNEL | GFP_DMA32); + buffer->pages[i] = alloc_page(GFP_KERNEL | GFP_DMA32 | __GFP_ZERO); if (buffer->pages[i] == NULL) goto out_pages; |