WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] PATCH: fix typo for page structure name

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] PATCH: fix typo for page structure name
From: Michael Abd-El-Malek <mabdelmalek@xxxxxxx>
Date: Sun, 13 Apr 2008 16:32:05 -0400
Delivery-date: Sun, 13 Apr 2008 13:32:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)
Signed-off-by: Michael Abd-El-Malek <mabdelmalek@xxxxxxx>
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");
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] PATCH: fix typo for page structure name, Michael Abd-El-Malek <=