All of lore.kernel.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@eu.citrix.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] tapaio build fix
Date: Wed, 19 Mar 2008 12:50:29 +0000	[thread overview]
Message-ID: <20080319125029.GA9372@implementation.uk.xensource.com> (raw)

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

                 reply	other threads:[~2008-03-19 12:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080319125029.GA9372@implementation.uk.xensource.com \
    --to=samuel.thibault@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.