From: Kristian Høgsberg Date: Fri, 16 Feb 2007 22:34:48 +0000 (-0500) Subject: firewire: Get zeroed out pages for mapping to user space. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=68be3fa15a420d96b1aaed4c519607bf2bfcb2e1;p=linux-beck.git firewire: Get zeroed out pages for mapping to user space. Signed-off-by: Kristian Høgsberg Signed-off-by: Stefan Richter --- 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;