]> 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:43:47 +0000 (14:43 +0100)
commit3f10c53b3ef12f770f64b914914b9f13882e9dae
treeaaa544928b3728d91ce7b9136d3bd4ebf48d541b
parent702c9146c00d65d1e9c5955335ba002505e97e09
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