summaryrefslogtreecommitdiffstats
path: root/drivers/vfio/container.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/vfio/container.c')
-rw-r--r--drivers/vfio/container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vfio/container.c b/drivers/vfio/container.c
index d74164abb..ab9d8e348 100644
--- a/drivers/vfio/container.c
+++ b/drivers/vfio/container.c
@@ -366,7 +366,7 @@ static int vfio_fops_open(struct inode *inode, struct file *filep)
{
struct vfio_container *container;
- container = kzalloc(sizeof(*container), GFP_KERNEL);
+ container = kzalloc(sizeof(*container), GFP_KERNEL_ACCOUNT);
if (!container)
return -ENOMEM;