diff --git a/drivers/xen/privcmd.c b/drivers/xen/privcmd.c index fae50a24630bd0e517c5512f327fd9d55d244221..1edf45ee9890da0e0bdaa867792b913e9c2f4455 100644 --- a/drivers/xen/privcmd.c +++ b/drivers/xen/privcmd.c @@ -760,7 +760,7 @@ static long privcmd_ioctl_mmap_resource(struct file *file, goto out; } - pfns = kcalloc(kdata.num, sizeof(*pfns), GFP_KERNEL); + pfns = kcalloc(kdata.num, sizeof(*pfns), GFP_KERNEL | __GFP_NOWARN); if (!pfns) { rc = -ENOMEM; goto out;