diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2017-01-24 21:15:43 +0100 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-01-25 03:28:34 +0100 |
commit | 7283accfaef66e6a64f7d3ec0672596dd8e5b144 (patch) | |
tree | c7d5e537cd273d28792ab044c7f977e3fcf1bb05 /drivers/gpu/drm | |
parent | drm/i915/gvt/kvmgt: mdev ABI is available_instances, not available_instance (diff) | |
download | linux-7283accfaef66e6a64f7d3ec0672596dd8e5b144.tar.xz 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')
-rw-r--r-- | drivers/gpu/drm/i915/gvt/execlist.c | 2 |
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); |