aboutsummaryrefslogtreecommitdiff
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 22:03:02 +0100
commit68be3fa15a420d96b1aaed4c519607bf2bfcb2e1 (patch)
treeac44ad4a426f92622af45274e15ad5e3d7fa5b44
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>
-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 736b1bf1513..deff6922a98 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;