summaryrefslogtreecommitdiff
path: root/drivers/firewire/fw-iso.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-02-17 01:34:48 +0300
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-10 00:03:02 +0300
commit68be3fa15a420d96b1aaed4c519607bf2bfcb2e1 (patch)
treeac44ad4a426f92622af45274e15ad5e3d7fa5b44 /drivers/firewire/fw-iso.c
parentcb2d2cdbc66d9143159ee0381ad83975de56a57d (diff)
downloadlinux-68be3fa15a420d96b1aaed4c519607bf2bfcb2e1.tar.xz
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/fw-iso.c')
-rw-r--r--drivers/firewire/fw-iso.c2
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;