The number of buffers is ahead of the buffer list in the argument list. Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> --- CC: George Dunlap <george.dun...@eu.citrix.com> CC: Ian Jackson <ian.jack...@eu.citrix.com> CC: Jan Beulich <jbeul...@suse.com> CC: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> CC: Stefano Stabellini <sstabell...@kernel.org> CC: Tim Deegan <t...@xen.org> CC: Wei Liu <wei.l...@citrix.com> CC: Paul Durrant <paul.durr...@citrix.com> CC: Julien Grall <julien.gr...@arm.com>
For 4.9. This is only documentation, but important to get correct seeing as dm_op()s are a new feature in 4.9 --- xen/include/public/hvm/dm_op.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xen/include/public/hvm/dm_op.h b/xen/include/public/hvm/dm_op.h index 20c21b6..2a4c3d9 100644 --- a/xen/include/public/hvm/dm_op.h +++ b/xen/include/public/hvm/dm_op.h @@ -391,17 +391,17 @@ DEFINE_XEN_GUEST_HANDLE(xen_dm_op_buf_t); /* ` enum neg_errnoval * ` HYPERVISOR_dm_op(domid_t domid, - * ` xen_dm_op_buf_t bufs[], - * ` unsigned int nr_bufs) + * ` unsigned int nr_bufs, + * ` xen_dm_op_buf_t bufs[]) * ` * * @domid is the domain the hypercall operates on. + * @nr_bufs is the number of buffers in the @bufs array. * @bufs points to an array of buffers where @bufs[0] contains a struct * xen_dm_op, describing the specific device model operation and its * parameters. * @bufs[1..] may be referenced in the parameters for the purposes of * passing extra information to or from the domain. - * @nr_bufs is the number of buffers in the @bufs array. */ #endif /* __XEN_PUBLIC_HVM_DM_OP_H__ */ -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel