]> xenbits.xensource.com Git - xen.git/commitdiff
public/grant_table.h: fix description of GNTTABOP_map_grant_ref
authorRafał Wojdyła <omeg@invisiblethingslab.com>
Fri, 17 Apr 2015 08:44:29 +0000 (10:44 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 17 Apr 2015 08:44:29 +0000 (10:44 +0200)
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: Rafał Wojdyła <omeg@invisiblethingslab.com>
xen/include/public/grant_table.h

index c8619ed50dda6d3b1bdc73faeb5622f5eccad1ac..f516a57544215da2056eb9fefc0eef69ebf43b76 100644 (file)
@@ -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