From: Stefan Berger <stefanb@us.ibm.com>
To: Xen-devel <xen-devel@lists.xensource.com>
Subject: [PATCH] [LIBXEN] Fix returned type in vtpm_get_backend() function call
Date: Tue, 14 Nov 2006 15:00:04 -0500 [thread overview]
Message-ID: <1163534404.16202.2.camel@lt2.watson.ibm.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 108 bytes --]
Return a string from vtpm_get_backend() function call.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
[-- Attachment #2: libxen-vtpm-fix.diff --]
[-- Type: text/x-patch, Size: 1037 bytes --]
Index: root/xen-unstable.hg/tools/libxen/include/xen_vtpm.h
===================================================================
--- root.orig/xen-unstable.hg/tools/libxen/include/xen_vtpm.h
+++ root/xen-unstable.hg/tools/libxen/include/xen_vtpm.h
@@ -196,7 +196,7 @@ xen_vtpm_get_vm(xen_session *session, xe
* Get the backend field of the given VTPM.
*/
extern bool
-xen_vtpm_get_backend(xen_session *session, xen_vm *result, xen_vtpm vtpm);
+xen_vtpm_get_backend(xen_session *session, char **result, xen_vtpm vtpm);
/**
Index: root/xen-unstable.hg/tools/libxen/src/xen_vtpm.c
===================================================================
--- root.orig/xen-unstable.hg/tools/libxen/src/xen_vtpm.c
+++ root/xen-unstable.hg/tools/libxen/src/xen_vtpm.c
@@ -170,7 +170,7 @@ xen_vtpm_get_vm(xen_session *session, xe
bool
-xen_vtpm_get_backend(xen_session *session, xen_vm *result, xen_vtpm vtpm)
+xen_vtpm_get_backend(xen_session *session, char **result, xen_vtpm vtpm)
{
abstract_value param_values[] =
{
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2006-11-14 20:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-14 20:00 Stefan Berger [this message]
2006-11-14 20:08 ` [PATCH] [LIBXEN] Fix returned type in vtpm_get_backend() function call Ewan Mellor
2006-11-14 21:15 ` Stefan Berger
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=1163534404.16202.2.camel@lt2.watson.ibm.com \
--to=stefanb@us.ibm.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.