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] [xen-unstable] tapaio build fix

# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1205935932 0
# Node ID 3e5973ab442afd508dce6d0ffc9d0fff5631e4c5
# Parent  c30b12577d75430e1b5baf791aa8b18bc5129daf
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>
---
 tools/blktap/drivers/tapaio.c |    1 +
 1 files changed, 1 insertion(+)

diff -r c30b12577d75 -r 3e5973ab442a tools/blktap/drivers/tapaio.c
--- a/tools/blktap/drivers/tapaio.c     Wed Mar 19 14:11:22 2008 +0000
+++ b/tools/blktap/drivers/tapaio.c     Wed Mar 19 14:12:12 2008 +0000
@@ -82,6 +82,7 @@ tap_aio_completion_thread(void *arg)
                        }
                } while (!rc);
        }
+       return NULL;
 }
 
 void

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] tapaio build fix, Xen patchbot-unstable <=