Skip to contentSkip to conversation

public/grant_table.h: fix description of GNTTABOP_map_grant_ref

PATCH New Rafał Wojdyła 1 participant 1 message Apr 16, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 public/grant_table.h: fix description of GNTTABOP_map_grant_ref

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

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

b/xen/include/public/grant_table.h
index c8619ed..f516a57 100644

xen/include/public/grant_table.h +0 -0
@@ -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

Signature · 1 line
1.8.1