All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tapaio build fix
@ 2008-03-19 12:50 Samuel Thibault
  0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2008-03-19 12:50 UTC (permalink / raw)
  To: xen-devel

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@eu.citrix.com>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-19 12:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-19 12:50 [PATCH] tapaio build fix Samuel Thibault

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.