mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
xen/grant-table: remove readonly parameter from functions
The gnttab_end_foreign_access() family of functions is taking a "readonly" parameter, which isn't used. Remove it from the function parameters. Signed-off-by: Juergen Gross <jgross@suse.com> Link: https://lore.kernel.org/r/20220311103429.12845-3-jgross@suse.com Reviewed-by: Jan Beulich <jbeulich@suse.com> Acked-by: Christian Schoenebeck <qemu_oss@crudebyte.com> Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
This commit is contained in:
parent
b0f212633b
commit
c94b731da2
16 changed files with 48 additions and 57 deletions
|
@ -168,7 +168,7 @@ static void evtchnl_free(struct xen_snd_front_info *front_info,
|
|||
|
||||
/* End access and free the page. */
|
||||
if (channel->gref != GRANT_INVALID_REF)
|
||||
gnttab_end_foreign_access(channel->gref, 0, page);
|
||||
gnttab_end_foreign_access(channel->gref, page);
|
||||
else
|
||||
free_page(page);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue