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-Tag: v2.6.22-rc1~111^2~78 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68be3fa15a420d96b1aaed4c519607bf2bfcb2e1;p=linux-2.6 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 736b1bf151..deff6922a9 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;