summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gvt
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2017-01-24 13:15:43 -0700
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-01-25 10:28:34 +0800
commit7283accfaef66e6a64f7d3ec0672596dd8e5b144 (patch)
treec7d5e537cd273d28792ab044c7f977e3fcf1bb05 /drivers/gpu/drm/i915/gvt
parentbdbfd5196d24a6d0845b549eba6ce8e6fa8bb3d0 (diff)
downloadblackbird-op-linux-7283accfaef66e6a64f7d3ec0672596dd8e5b144.tar.gz
blackbird-op-linux-7283accfaef66e6a64f7d3ec0672596dd8e5b144.zip
drm/i915/gvt: Fix kmem_cache_create() name
According to kmem_cache_sanity_check(), spaces are not allowed in the name of a cache and results in a kernel oops with CONFIG_DEBUG_VM. Convert to underscores. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt')
-rw-r--r--drivers/gpu/drm/i915/gvt/execlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/gvt/execlist.c b/drivers/gpu/drm/i915/gvt/execlist.c
index fb852c51d00e..34083731669d 100644
--- a/drivers/gpu/drm/i915/gvt/execlist.c
+++ b/drivers/gpu/drm/i915/gvt/execlist.c
@@ -798,7 +798,7 @@ int intel_vgpu_init_execlist(struct intel_vgpu *vgpu)
INIT_LIST_HEAD(&vgpu->workload_q_head[i]);
}
- vgpu->workloads = kmem_cache_create("gvt-g vgpu workload",
+ vgpu->workloads = kmem_cache_create("gvt-g_vgpu_workload",
sizeof(struct intel_vgpu_workload), 0,
SLAB_HWCACHE_ALIGN,
NULL);
OpenPOWER on IntegriCloud