summaryrefslogtreecommitdiff
path: root/drivers/xen/xen-front-pgdir-shbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/xen/xen-front-pgdir-shbuf.c')
-rw-r--r--drivers/xen/xen-front-pgdir-shbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/xen-front-pgdir-shbuf.c b/drivers/xen/xen-front-pgdir-shbuf.c
index b6433761d42c..bef8d72a6ca6 100644
--- a/drivers/xen/xen-front-pgdir-shbuf.c
+++ b/drivers/xen/xen-front-pgdir-shbuf.c
@@ -135,7 +135,7 @@ void xen_front_pgdir_shbuf_free(struct xen_front_pgdir_shbuf *buf)
for (i = 0; i < buf->num_grefs; i++)
if (buf->grefs[i] != INVALID_GRANT_REF)
- gnttab_end_foreign_access(buf->grefs[i], 0UL);
+ gnttab_end_foreign_access(buf->grefs[i], NULL);
}
kfree(buf->grefs);
kfree(buf->directory);