firewire: Get zeroed out pages for mapping to user space.
authorKristian Høgsberg <krh@redhat.com>
Fri, 16 Feb 2007 22:34:48 +0000 (17:34 -0500)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Fri, 9 Mar 2007 21:03:02 +0000 (22:03 +0100)
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-iso.c

index 736b1bf1513ebe6cea36fe7bba1991f872b8d79d..deff6922a98f179102d1c78d277cfabc56830fa7 100644 (file)
@@ -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;