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-changelog

[Xen-changelog] [linux-2.6.18-xen] xen: Fix typo of page structure name.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] xen: Fix typo of page structure name.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Apr 2008 02:10:08 -0700
Delivery-date: Mon, 14 Apr 2008 02:10:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1208163658 -3600
# Node ID d71965a78c2069fc88d565c5c7ba57889b00b00d
# Parent  7c844e8c3485de8ad8cf89eb5c6c6dc6cc2881a8
xen: Fix typo of page structure name.

Signed-off-by: Michael Abd-El-Malek <mabelmalek@xxxxxxx>
---
 drivers/xen/blktap/blktap.c |    2 +-
 drivers/xen/gntdev/gntdev.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r 7c844e8c3485 -r d71965a78c20 drivers/xen/blktap/blktap.c
--- a/drivers/xen/blktap/blktap.c       Thu Apr 10 12:05:57 2008 +0100
+++ b/drivers/xen/blktap/blktap.c       Mon Apr 14 10:00:58 2008 +0100
@@ -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 7c844e8c3485 -r d71965a78c20 drivers/xen/gntdev/gntdev.c
--- a/drivers/xen/gntdev/gntdev.c       Thu Apr 10 12:05:57 2008 +0100
+++ b/drivers/xen/gntdev/gntdev.c       Mon Apr 14 10:00:58 2008 +0100
@@ -555,7 +555,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 *), 
+       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 "

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] xen: Fix typo of page structure name., Xen patchbot-linux-2.6.18-xen <=