Skip to contentSkip to conversation

fix building error

PATCH Wen Congyang 3 participants 4 messages Jun 30, 2015

lore
Share & tools
lore
#0 lore raw
---
 tools/libxl/libxl_netbuffer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/libxl/libxl_netbuffer.c +2 -2
index ff2d6c7..107e867 100644
@@ -310,7 +310,7 @@ static void nic_setup(libxl__egc *egc, libxl__remus_device *dev)
     }
 
     setup_async_exec(dev, "setup");
-    rc = libxl__async_exec_start(gc, &dev->aodev.aes);
+    rc = libxl__async_exec_start(&dev->aodev.aes);
     if (rc)
         goto out;
 
@@ -402,7 +402,7 @@ static void nic_teardown(libxl__egc *egc, libxl__remus_device *dev)
 
     setup_async_exec(dev, "teardown");
 
-    rc = libxl__async_exec_start(gc, &dev->aodev.aes);
+    rc = libxl__async_exec_start(&dev->aodev.aes);
     if (rc)
         goto out;
 
Signature · 1 line
2.4.3
#1 lore raw

On Tue, 2015-06-30 at 14:10 +0800, Wen Congyang wrote:

It would be usual do describe here which commit caused the breakage (i.e. removed the parameter). Also please make the subject something more descriptive such as "remove now unnecessary gc from libxl__async_exec_start calls" e.g.

Subject: remove now unnecessary gc from libxl__async_exec_start calls

These were removed in commit XXXXXX.

Quoted 27 lines
---
 tools/libxl/libxl_netbuffer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/libxl/libxl_netbuffer.c +2 -2
index ff2d6c7..107e867 100644
@@ -310,7 +310,7 @@ static void nic_setup(libxl__egc *egc, libxl__remus_device *dev)
     }
 
     setup_async_exec(dev, "setup");
-    rc = libxl__async_exec_start(gc, &dev->aodev.aes);
+    rc = libxl__async_exec_start(&dev->aodev.aes);
     if (rc)
         goto out;
 
@@ -402,7 +402,7 @@ static void nic_teardown(libxl__egc *egc, libxl__remus_device *dev)
 
     setup_async_exec(dev, "teardown");
 
-    rc = libxl__async_exec_start(gc, &dev->aodev.aes);
+    rc = libxl__async_exec_start(&dev->aodev.aes);
     if (rc)
         goto out;
 
#2 lore raw
Quoted 10 lines · Ian Campbell

On Tue, 2015-06-30 at 14:10 +0800, Wen Congyang wrote:

It would be usual do describe here which commit caused the breakage (i.e. removed the parameter). Also please make the subject something more descriptive such as "remove now unnecessary gc from libxl__async_exec_start calls" e.g.

Subject: remove now unnecessary gc from libxl__async_exec_start calls

These were removed in commit XXXXXX.

OK, I will repost it.

Thanks
Wen Congyang

Quoted 32 lines
Quoted 20 lines
---
 tools/libxl/libxl_netbuffer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/libxl/libxl_netbuffer.c +1 -1
index ff2d6c7..107e867 100644
@@ -310,7 +310,7 @@ static void nic_setup(libxl__egc *egc, libxl__remus_device *dev)
     }
 
     setup_async_exec(dev, "setup");
-    rc = libxl__async_exec_start(gc, &dev->aodev.aes);
+    rc = libxl__async_exec_start(&dev->aodev.aes);
     if (rc)
         goto out;
 

tools/libxl/libxl_netbuffer.c static void nic_teardown(libxl__egc *egc, libxl__remus_device *dev) · line 408

Quoted 8 lines
tools/libxl/libxl_netbuffer.c +1 -1
@@ -402,7 +402,7 @@ static void nic_teardown(libxl__egc *egc, libxl__remus_device *dev)
 
     setup_async_exec(dev, "teardown");
 
-    rc = libxl__async_exec_start(gc, &dev->aodev.aes);
+    rc = libxl__async_exec_start(&dev->aodev.aes);
     if (rc)
         goto out;
 

.

#3 lore raw

Wen Congyang writes ("Re: fix building error"):

Quoted 11 lines · Ian Campbell
Quoted 10 lines · Wen Congyang

It would be usual do describe here which commit caused the breakage (i.e. removed the parameter). Also please make the subject something more descriptive such as "remove now unnecessary gc from libxl__async_exec_start calls" e.g.

Subject: remove now unnecessary gc from libxl__async_exec_start calls

These were removed in commit XXXXXX.

This is my fault, in f5f8400f
"libxl: events: Make timeout and async exec setup take an ao, not a gc"

Quoted 1 line

OK, I will repost it.

Thanks. Sorry for breaking the build.

Ian.