diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-02-17 01:34:48 +0300 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-10 00:03:02 +0300 |
commit | 68be3fa15a420d96b1aaed4c519607bf2bfcb2e1 (patch) | |
tree | ac44ad4a426f92622af45274e15ad5e3d7fa5b44 /drivers/firewire/fw-iso.c | |
parent | cb2d2cdbc66d9143159ee0381ad83975de56a57d (diff) | |
download | linux-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.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; |