* PATCH: fix typo for page structure name
@ 2008-04-13 20:32 Michael Abd-El-Malek
0 siblings, 0 replies; only message in thread
From: Michael Abd-El-Malek @ 2008-04-13 20:32 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 58 bytes --]
Signed-off-by: Michael Abd-El-Malek <mabdelmalek@cmu.edu>
[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 1164 bytes --]
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");
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-13 20:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-13 20:32 PATCH: fix typo for page structure name Michael Abd-El-Malek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.