Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
xen.5575
54c2553c-grant-table-use-uint16_t-consistently-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 54c2553c-grant-table-use-uint16_t-consistently-for-offset-and-length.patch of Package xen.5575
# Commit b7f74a19fe099e373ad52e4218c466f3e91b5f43 # Date 2015-01-23 15:05:48 +0100 # Author David Vrabel <david.vrabel@citrix.com> # Committer Jan Beulich <jbeulich@suse.com> grant-table: use uint16_t consistently for grant copy offset and length Signed-off-by: David Vrabel <david.vrabel@citrix.com> Acked-by: Jan Beulich <jbeulich@suse.com> --- sle12sp1.orig/xen/common/grant_table.c 2017-08-17 13:34:35.740988185 +0200 +++ sle12sp1/xen/common/grant_table.c 2017-08-17 00:00:00.000000000 +0200 @@ -1882,7 +1882,7 @@ static int __acquire_grant_for_copy( struct domain *rd, unsigned long gref, domid_t ldom, int readonly, unsigned long *frame, struct page_info **page, - unsigned *page_off, unsigned *length, unsigned allow_transitive) + uint16_t *page_off, uint16_t *length, unsigned allow_transitive) { struct grant_table *rgt = rd->grant_table; grant_entry_v1_t *sha1; @@ -1895,8 +1895,8 @@ __acquire_grant_for_copy( grant_ref_t trans_gref; struct domain *td; unsigned long grant_frame; - unsigned trans_page_off; - unsigned trans_length; + uint16_t trans_page_off; + uint16_t trans_length; int is_sub_page; s16 rc = GNTST_okay; @@ -2156,7 +2156,7 @@ __gnttab_copy( if ( src_is_gref ) { - unsigned source_off, source_len; + uint16_t source_off, source_len; rc = __acquire_grant_for_copy(sd, op->source.u.ref, current->domain->domain_id, 1, &s_frame, &s_pg, @@ -2181,7 +2181,7 @@ __gnttab_copy( if ( dest_is_gref ) { - unsigned dest_off, dest_len; + uint16_t dest_off, dest_len; rc = __acquire_grant_for_copy(dd, op->dest.u.ref, current->domain->domain_id, 0, &d_frame, &d_pg, &dest_off, &dest_len, 1);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor