aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-iso.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-02-16 17:34:48 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-09 16:03:02 -0500
commit68be3fa15a420d96b1aaed4c519607bf2bfcb2e1 (patch)
treeac44ad4a426f92622af45274e15ad5e3d7fa5b44 /drivers/firewire/fw-iso.c
parentcb2d2cdbc66d9143159ee0381ad83975de56a57d (diff)
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,
44 goto out; 44 goto out;
45 45
46 for (i = 0; i < buffer->page_count; i++) { 46 for (i = 0; i < buffer->page_count; i++) {
47 buffer->pages[i] = alloc_page(GFP_KERNEL | GFP_DMA32); 47 buffer->pages[i] = alloc_page(GFP_KERNEL | GFP_DMA32 | __GFP_ZERO);
48 if (buffer->pages[i] == NULL) 48 if (buffer->pages[i] == NULL)
49 goto out_pages; 49 goto out_pages;
50 50