xen/domain: Use unsigned int instead of plain unsigned

This is just for the style and consistency reasons as the former is
being used more often than the latter.

Signed-off-by: Michal Orzel <michal.orzel@arm.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Michal Orzel authored and Jan Beulich committed 2022-06-28 17:23:09 +02:00
1 parent 05fb789e83
commit 056cb4c360
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1446,7 +1446,7 @@ int vcpu_reset(struct vcpu *v)
* of memory, and it sets a pending event to make sure that a pending
* event doesn't get missed.
*/
int map_vcpu_info(struct vcpu *v, unsigned long gfn, unsigned offset)
int map_vcpu_info(struct vcpu *v, unsigned long gfn, unsigned int offset)
{
struct domain *d = v->domain;
void *mapping;
+1 -1
View File
@@ -65,7 +65,7 @@ void cf_check free_pirq_struct(void *);
int arch_vcpu_create(struct vcpu *v);
void arch_vcpu_destroy(struct vcpu *v);
int map_vcpu_info(struct vcpu *v, unsigned long gfn, unsigned offset);
int map_vcpu_info(struct vcpu *v, unsigned long gfn, unsigned int offset);
void unmap_vcpu_info(struct vcpu *v);
int arch_domain_create(struct domain *d,
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.