diff options
author | Dave Airlie <airlied@linux.ie> | 2007-10-16 01:05:49 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-02 08:44:15 -0700 |
commit | 0a0225bae6d086e1ffa8a5aa3bf265ec83b57c34 (patch) | |
tree | 43339b0518988f15215f7683b5a087949f8206d2 /drivers | |
parent | 0d5295636a1f2d9fe7d344df976a220bc92c3050 (diff) | |
download | linux-stable-0a0225bae6d086e1ffa8a5aa3bf265ec83b57c34.tar.gz linux-stable-0a0225bae6d086e1ffa8a5aa3bf265ec83b57c34.tar.bz2 linux-stable-0a0225bae6d086e1ffa8a5aa3bf265ec83b57c34.zip |
i915: fix vbl swap allocation size.
This is upstream as 54583bf4efda79388fc13163e35c016c8bc5de81
Oops...
Signed-off-by: Dave Airlie <airlied@linux.ie>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-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 b92062a239f1..8021ba627a16 100644 --- a/drivers/char/drm/i915_irq.c +++ b/drivers/char/drm/i915_irq.c @@ -541,7 +541,7 @@ int i915_vblank_swap(DRM_IOCTL_ARGS) return DRM_ERR(EBUSY); } - vbl_swap = drm_calloc(1, sizeof(vbl_swap), DRM_MEM_DRIVER); + vbl_swap = drm_calloc(1, sizeof(*vbl_swap), DRM_MEM_DRIVER); if (!vbl_swap) { DRM_ERROR("Failed to allocate memory to queue swap\n"); |