projects
/
platform
/
kernel
/
linux-rpi3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9439b37
)
drm/i915/gvt/kvmgt: replace kmalloc() by kzalloc()
author
Jike Song
<jike.song@intel.com>
Thu, 8 Dec 2016 03:00:34 +0000
(11:00 +0800)
committer
Zhenyu Wang
<zhenyuw@linux.intel.com>
Fri, 16 Dec 2016 08:55:25 +0000
(16:55 +0800)
Signed-off-by: Jike Song <jike.song@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/kvmgt.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/gvt/kvmgt.c
b/drivers/gpu/drm/i915/gvt/kvmgt.c
index
dc03650
..
aecb657
100644
(file)
--- a/
drivers/gpu/drm/i915/gvt/kvmgt.c
+++ b/
drivers/gpu/drm/i915/gvt/kvmgt.c
@@
-322,7
+322,7
@@
static void kvmgt_protect_table_add(struct kvmgt_guest_info *info, gfn_t gfn)
if (kvmgt_gfn_is_write_protected(info, gfn))
return;
- p = k
m
alloc(sizeof(struct kvmgt_pgfn), GFP_ATOMIC);
+ p = k
z
alloc(sizeof(struct kvmgt_pgfn), GFP_ATOMIC);
if (WARN(!p, "gfn: 0x%llx\n", gfn))
return;