]> xenbits.xensource.com Git - xen.git/commit
xen/grant_table: Rework the prototype of _set_status* for lisibility
authorJulien Grall <julien.grall@arm.com>
Mon, 29 Apr 2019 14:05:17 +0000 (15:05 +0100)
committerJulien Grall <julien.grall@arm.com>
Fri, 14 Jun 2019 13:27:32 +0000 (14:27 +0100)
commit863e74eb2cffb5c1a454441b3e842ac56802d2f0
tree24820194c235846eb79953ddea1853e09163e462
parent5e1b9cb0f29d6b52bd603d22bca4ae4cfeef9e74
xen/grant_table: Rework the prototype of _set_status* for lisibility

It is not clear from the parameters name whether domid and gt_version
correspond to the local or remote domain. A follow-up patch will make
them more confusing.

So rename domid (resp. gt_version) to ldomid (resp. rgt_version). At
the same time re-order the parameters to hopefully make it more
readable.

This is part of XSA-295.

Suggested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/common/grant_table.c