From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Abd-El-Malek Subject: PATCH: fix typo for page structure name Date: Sun, 13 Apr 2008 16:32:05 -0400 Message-ID: <48026DC5.4010601@cmu.edu> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040209030601060301070002" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------040209030601060301070002 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Signed-off-by: Michael Abd-El-Malek --------------040209030601060301070002 Content-Type: text/plain; name="patch.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch.txt" diff -r 5f49742fd697 drivers/xen/blktap/blktap.c --- a/drivers/xen/blktap/blktap.c Sat Apr 12 00:28:56 2008 -0400 +++ b/drivers/xen/blktap/blktap.c Sun Apr 13 16:29:55 2008 -0400 @@ -684,7 +684,7 @@ static int blktap_mmap(struct file *filp /* Mark this VM as containing foreign pages, and set up mappings. */ map = kzalloc(((vma->vm_end - vma->vm_start) >> PAGE_SHIFT) - * sizeof(struct page_struct*), + * sizeof(struct page*), GFP_KERNEL); if (map == NULL) { WPRINTK("Couldn't alloc VM_FOREIGN map.\n"); diff -r 5f49742fd697 drivers/xen/gntdev/gntdev.c --- a/drivers/xen/gntdev/gntdev.c Sat Apr 12 00:28:56 2008 -0400 +++ b/drivers/xen/gntdev/gntdev.c Sun Apr 13 16:29:55 2008 -0400 @@ -509,8 +509,7 @@ static int gntdev_mmap (struct file *fli /* The VM area contains pages from another VM. */ vma->vm_flags |= VM_FOREIGN; - vma->vm_private_data = kzalloc(size * sizeof(struct page_struct *), - GFP_KERNEL); + vma->vm_private_data = kzalloc(size * sizeof(struct page*), GFP_KERNEL); if (vma->vm_private_data == NULL) { printk(KERN_ERR "Couldn't allocate mapping structure for VM " "area.\n"); --------------040209030601060301070002 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------040209030601060301070002--