|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-3.1-testing] Fully initialise watch data structure
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1204363667 0
# Node ID 15552e308f0b777d805cfb145d928b945c17ff82
# Parent 347ccfd94d491ada99445a5432b730dcba4f265d
Fully initialise watch data structure in pcifront by using kzalloc.
This avoids creating a watch with XBWF_new_thread set spuriously.
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
linux-2.6.18-xen changeset: 447:7c04748ed275531734d24ba40261143c77acdcb8
linux-2.6.18-xen date: Wed Feb 27 16:33:32 2008 +0000
---
linux-2.6-xen-sparse/drivers/xen/pcifront/xenbus.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r 347ccfd94d49 -r 15552e308f0b
linux-2.6-xen-sparse/drivers/xen/pcifront/xenbus.c
--- a/linux-2.6-xen-sparse/drivers/xen/pcifront/xenbus.c Sat Mar 01
09:27:10 2008 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/pcifront/xenbus.c Sat Mar 01
09:27:47 2008 +0000
@@ -17,7 +17,7 @@ static struct pcifront_device *alloc_pde
{
struct pcifront_device *pdev;
- pdev = kmalloc(sizeof(struct pcifront_device), GFP_KERNEL);
+ pdev = kzalloc(sizeof(struct pcifront_device), GFP_KERNEL);
if (pdev == NULL)
goto out;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-3.1-testing] Fully initialise watch data structure in pcifront by using kzalloc.,
Xen patchbot-3.1-testing <=
|
|
|
|
|