[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] tapaio build fix



With some combinations of compiler flags (no optimization, -Werror), the
compiler may complain that the function doesn't have a return statement
(even if the function actually just never returns), reported as bug
1128. This adds a dummy return statement.

Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>

diff -r 663d59596add tools/blktap/drivers/tapaio.c
--- a/tools/blktap/drivers/tapaio.c     Tue Mar 18 17:03:01 2008 +0000
+++ b/tools/blktap/drivers/tapaio.c     Wed Mar 19 12:47:30 2008 +0000
@@ -82,6 +82,7 @@ tap_aio_completion_thread(void *arg)
                        }
                } while (!rc);
        }
+       return NULL;
 }
 
 void

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.