Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
xen.21116
60c8de6e-osdep_xenforeignmemory_map-prototype.p...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 60c8de6e-osdep_xenforeignmemory_map-prototype.patch of Package xen.21116
# Commit 5d3e4ebb5c71477d74a0c503438545a0126d3863 # Date 2021-06-15 18:07:58 +0100 # Author Anthony PERARD <anthony.perard@citrix.com> # Committer Julien Grall <jgrall@amazon.com> libs/foreignmemory: Fix osdep_xenforeignmemory_map prototype Commit cf8c4d3d13b8 made some preparation to have one day variable-length-array argument, but didn't declare the array in the function prototype the same way as in the function definition. And now GCC 11 complains about it. Fixes: cf8c4d3d13b8 ("tools/libs/foreignmemory: pull array length argument to map forward") Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Reviewed-by: Jan Beulich <jbeulich@suse.com> --- a/tools/libs/foreignmemory/private.h +++ b/tools/libs/foreignmemory/private.h @@ -32,7 +32,7 @@ int osdep_xenforeignmemory_close(xenfore void *osdep_xenforeignmemory_map(xenforeignmemory_handle *fmem, uint32_t dom, void *addr, int prot, int flags, size_t num, - const xen_pfn_t arr[num], int err[num]); + const xen_pfn_t arr[/*num*/], int err[/*num*/]); int osdep_xenforeignmemory_unmap(xenforeignmemory_handle *fmem, void *addr, size_t num);
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