All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] public/grant_table.h: fix description of GNTTABOP_map_grant_ref
@ 2015-04-16 11:22 Rafał Wojdyła
  0 siblings, 0 replies; only message in thread
From: Rafał Wojdyła @ 2015-04-16 11:22 UTC (permalink / raw)
  To: xen-devel

Error code is not returned in the <handle> field of the
gnttab_map_grant_ref structure but in the <status> field only.

Signed-off-by: Rafal Wojdyla <omeg@invisiblethingslab.com>

---
 xen/include/public/grant_table.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/include/public/grant_table.h
b/xen/include/public/grant_table.h
index c8619ed..f516a57 100644
--- a/xen/include/public/grant_table.h
+++ b/xen/include/public/grant_table.h
@@ -321,7 +321,7 @@ typedef uint32_t grant_handle_t;
 /*
  * GNTTABOP_map_grant_ref: Map the grant entry (<dom>,<ref>) for access
  * by devices and/or host CPUs. If successful, <handle> is a tracking
number
- * that must be presented later to destroy the mapping(s). On error,
<handle>
+ * that must be presented later to destroy the mapping(s). On error,
<status>
  * is a negative status code.
  * NOTES:
  *  1. If GNTMAP_device_map is specified then <dev_bus_addr> is the address
-- 
1.8.1

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

only message in thread, other threads:[~2015-04-16 11:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-16 11:22 [PATCH] public/grant_table.h: fix description of GNTTABOP_map_grant_ref Rafał Wojdyła

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.