Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=54583bf4efda79388fc13163e35c016c8bc5de81 Commit: 54583bf4efda79388fc13163e35c016c8bc5de81 Parent: c153f45f9b7e30289157bba3ff5682291df16caa Author: Dave Airlie <[EMAIL PROTECTED]> AuthorDate: Sun Oct 14 21:21:30 2007 +1000 Committer: Dave Airlie <[EMAIL PROTECTED](none)> CommitDate: Mon Oct 15 10:42:27 2007 +1000
i915: fix vbl swap allocation size. Oops... Signed-off-by: Dave Airlie <[EMAIL PROTECTED]> --- 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 380c3f3..a443f4a 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, return -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"); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html