diff options
Diffstat (limited to 'drivers/char/drm/i915_irq.c')
-rw-r--r-- | drivers/char/drm/i915_irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/i915_irq.c b/drivers/char/drm/i915_irq.c index 380c3f387218..a443f4a202e3 100644 --- a/drivers/char/drm/i915_irq.c +++ b/drivers/char/drm/i915_irq.c | |||
@@ -540,7 +540,7 @@ int i915_vblank_swap(struct drm_device *dev, void *data, | |||
540 | return -EBUSY; | 540 | return -EBUSY; |
541 | } | 541 | } |
542 | 542 | ||
543 | vbl_swap = drm_calloc(1, sizeof(vbl_swap), DRM_MEM_DRIVER); | 543 | vbl_swap = drm_calloc(1, sizeof(*vbl_swap), DRM_MEM_DRIVER); |
544 | 544 | ||
545 | if (!vbl_swap) { | 545 | if (!vbl_swap) { |
546 | DRM_ERROR("Failed to allocate memory to queue swap\n"); | 546 | DRM_ERROR("Failed to allocate memory to queue swap\n"); |